Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Aug 2009
You do not set file and directory permisions to a user.
It´s the other way round.
Every file/directory has
- a user / group
- user/group/other permissions -> rwx rwx rwx
Please take a look at this webpage-directory.
- what group is set there?
and does the group have
- read/write/execute permissions on all directories
- read/write permissions on all files
then add you user to that group.
I understand, that this is a already running system.
i.e. other users can already read/write in that webpage-directory?
So changing permissions on files/dirs ist most likely wrong.
Take a look on the groups of these other users, too.
Note: there is a primary group for every user, that is determined by the groupid (gid) in /etc/passwd.
And there are also additional group definitions in /etc/group