chiark / gitweb /
init set config.py perms to 0600, otherwise warn user if config.py is not
authorHans-Christoph Steiner <hans@eds.org>
Tue, 5 Nov 2013 22:27:08 +0000 (17:27 -0500)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 5 Nov 2013 22:27:08 +0000 (17:27 -0500)
commit5f06fba59111a1146357a58f5de859eb83d1aa5b
treeff0ce68795a36fcd3db6d7ab935b60073ec730ae
parent749739ec72c0b6a82ce5944bd46f45e2531736b2
init set config.py perms to 0600, otherwise warn user if config.py is not

Since config.py contains passwords in it, it should be protected as much as
possible.  At the very least, the file permissions should be 0600 to
restrict access to user that actually edits and runs 'fdroid' commands.
fdroidserver/common.py
fdroidserver/init.py