View Single Post
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#29
Originally Posted by MartinK View Post
[*]Is there some other way how to consistently set folder ownership ?
Ideally everything should be

- owned by root
- not writeable by any user other than root (except for config files/user generated files etc)

For modRana 0.12 (the version I've installed) the following should tighten up and set the correct permissions:

make everything owned by root
chown -R root:root /opt/modrana/

allow user to create new files in /opt/modrana/data/
chmod o+w /opt/modrana/data/

allow user to create new files in /opt/modrana/tracklogs/
chmod o+w /opt/modrana/tracklogs/

repeat the chmod for any other directories in which user needs to create files

Last edited by kureyon; 2010-07-26 at 07:55.