Groups / User loosing read / write permissions?
Hello, I have a Dedicated server that i run a couple of game servers on.
For Security purposes, I have disable root access and have created a few access for people to access the server. I have created a group called 'ftpacess' and have the users set to those group access to the /home Directory. But it seems like everyone a file is changed / removed or added. Seems like the user who are connected on via FTP (Using FileZilla), when they try to unload, download or a change a file name, they get "Permission denied". Am I doing something wrong? I have used the following commands: chmod g+w -R home chmod g+r -R home and some times I have to run: chgrp -R ftpaccess home I would love to hear any suggestions or tips on how I can improve this and thanks. |
Hi!
That is, imho, a slightly odd approach. I would have created a directory _inside_ /home for the ftp users. Something like: Code:
/home/ftpusers Code:
ls -ld /home HMW |
Quote:
Code:
drwxrwsrw- 17 root ftpaccess 4096 May 21 00:15 /home |
Quote:
Quote:
Best regards, HMW |
It was happening before the stick bit. I'll try removing that and see what happens in a couple of days.
|
Quote:
Quote:
BTW, those are really weird permissions for /home. The "rw-" permissions for "other" allows everybody to rename anyone's home directory. Actually setting the sticky bit ("chmod +t /home") would prevent that. |
Quote:
|
All times are GMT -5. The time now is 10:12 PM. |