Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.