Example #1
0
 def _acceptable_chmod(self, ftps_path, mode):
     """Wrap helper"""
     #logger.debug("acceptable_chmod: %s" % ftps_path)
     reply = acceptable_chmod(ftps_path, mode, self.chmod_exceptions)
     if not reply:
         logger.warning("acceptable_chmod failed: %s %s %s" % \
                             (ftps_path, mode, self.chmod_exceptions))
     #logger.debug("acceptable_chmod returns: %s :: %s" % \
     #                      (ftps_path, reply))
     return reply
Example #2
0
 def _acceptable_chmod(self, davs_path, mode):
     """Wrap helper"""
     #logger.debug("acceptable_chmod: %s" % davs_path)
     reply = acceptable_chmod(davs_path, mode, self.chmod_exceptions)
     logger.debug("acceptable_chmod returns: %s :: %s" % (davs_path, reply))
     return reply