CC-3749: Media Monitor should not load files pypo cannot read
-fixed
This commit is contained in:
parent
e13d06df45
commit
7e9d1a3308
|
@ -79,7 +79,7 @@ class MediaMonitorCommon:
|
|||
def is_readable(self, item, is_dir):
|
||||
try:
|
||||
return self.is_user_readable(item, 'www-data', 'www-data') \
|
||||
and not self.is_user_readable(item, 'pypo', 'pypo'):
|
||||
and not self.is_user_readable(item, 'pypo', 'pypo')
|
||||
except Exception, e:
|
||||
self.logger.warn("Failed to check owner/group/permissions for %s", item)
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue