mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Permission check correct file
This commit is contained in:
parent
9f6f76c1ad
commit
0231409224
1 changed files with 1 additions and 1 deletions
|
@ -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'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue