mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-10-27 14:43:04 -04:00
Permission check correct file
This commit is contained in:
1 parent
9f6f76c1ad
commit
0231409224
1 file changed
+1
-1
@@ -47,7 +47,7 @@ def read_config(opts, config_file='config.py'):
|
||||
sys.exit(2)
|
||||
st = os.stat(config_file)
|
||||
if st.st_mode & stat.S_IRWXG or st.st_mode & stat.S_IRWXO:
|
||||
print "WARNING: unsafe permissions on config.py (should be 0600)!"
|
||||
print "WARNING: unsafe permissions on {0} (should be 0600)!".format(config_file)
|
||||
|
||||
options = opts
|
||||
if not hasattr(options, 'verbose'):
|
||||
|
||||
Reference in new issue
Block a user