CC-4017: Run airtime-playour process as root user

fixed world readable permissions when caching file
This commit is contained in:
Martin Konecny 2012-06-26 17:50:26 -04:00
parent 22862688a8
commit 43c4b943f2
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class PypoFile(Thread):
shutil.copy(src, dst)
#make file world readable
os.chmod(dst, stat.S_IRUSR | stat.S_IRGRP | stat.S_IXOTH)
os.chmod(dst, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
except Exception, e:
self.logger.error("Could not copy from %s to %s" % (src, dst))
self.logger.error(e)