get rid of pypo permissions since it now runs as root

This commit is contained in:
Rudi Grinberg 2012-07-05 16:07:25 -04:00
parent 5e9302d912
commit 38dbc28e1c
2 changed files with 1 additions and 6 deletions

View file

@ -83,8 +83,7 @@ class MediaMonitorCommon:
# the function only changes the permission if its not readable by www-data
def is_readable(self, item, is_dir):
try:
return self.is_user_readable(item, 'www-data', 'www-data') \
and self.is_user_readable(item, 'pypo', 'pypo')
return self.is_user_readable(item, 'www-data', 'www-data')
except Exception, e:
self.logger.warn(u"Failed to check owner/group/permissions for %s", item)
return False