CHMOD files
This commit is contained in:
@@ -78,6 +78,7 @@ class Plugin(object):
|
||||
f = open(path, 'w' if not binary else 'wb')
|
||||
f.write(content)
|
||||
f.close()
|
||||
os.chmod(path, Env.getPermission('file'))
|
||||
except Exception, e:
|
||||
log.error('Unable writing to file "%s": %s' % (path, e))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user