patrik
Verified User
- Joined
- Sep 6, 2006
- Messages
- 128
Users with web applications like Joomla with most likely encounter problems with permissions if they would like to remove or edit files within a component/module they have installed because it's owned by the webserver user.
Some use suPHP to solve this but we've had very bad experience with this tool and don't want to use it.
What solutions are there? We could set permissions to something like 775 or 774 (or even 770) and then set group to the webserver user but this require help from system administrators as the users themselves can't change group.
I have been looking at file system ACLs which seems like a very good solution. It's possible to set default permissions for a directory to be writeable by both webserver and the user. If a new file/directory is created within the directory which has default ACLs set the new file/dir should inherit the permissions. That's how it is meant to work but I can't get it to work.
Is there someone here who have any experience with ACLs (getfacl, setfacl)? Or is there any other solution to this problem?
Some use suPHP to solve this but we've had very bad experience with this tool and don't want to use it.
What solutions are there? We could set permissions to something like 775 or 774 (or even 770) and then set group to the webserver user but this require help from system administrators as the users themselves can't change group.
I have been looking at file system ACLs which seems like a very good solution. It's possible to set default permissions for a directory to be writeable by both webserver and the user. If a new file/directory is created within the directory which has default ACLs set the new file/dir should inherit the permissions. That's how it is meant to work but I can't get it to work.
Is there someone here who have any experience with ACLs (getfacl, setfacl)? Or is there any other solution to this problem?