Re: Vsftpd uploaded files Permissions
Hi Guys,
I have a small problem/query. The situation is i have a user called game and that users home directory is /home/game. I have game servers running in there for example the folder of the game server is installed to /home/game/123clan/cstrike.
I have users on the system that i have added for ftp access via vsftpd and those users have thier home directory as /home/game/123clan/cstrike for example and have /bin/false for thier shell. Those users are part of the game user group as well.
That all works fine and dandy. I just chmod the /home/game/123clan/cstrike to 0770 so the owner and group can access it via the ftp.
What i would like to do is so the users can upload and download files but it auto sets the permssions of the uploaded files to 0770 or soemthing so the owned and group can access the files or folders.
I have looked on google but with no luck. Because at the moment it will set the uploaded folders or files permissions to something stupid so even the owner of /home/game/123clan/cstrike can't access the files to change the permissions or delete the files etc.
I was thinking about creating each user his or her own home folder.
Any ideas guys?
Silver05
|