2 users, 1 directory
I have a counter strike directory that contains the files needed to run a counter strike server, along with the maps and addons and what-not.
Right now it's created in /home/zssz/steam/cstrike I have a user called flaming. I set up an account for him with a home of /home/flaming I then created a symbolic link from /home/flaming/cstrike that lead to /home/zssz/steam/cstrike I then added flaming to the zssz group so that he could modify files from ftp. My problem is that sometimes a file's permission doesn't always allow write access to groups. Sure I can just chmod -R periodically to allow the files to be written to by the group, but there has to be some other way. That would mean everytime a new map or addon is uploaded to the server, that command would have to be run in order for him to be able to modify/remove those files. Is there a better way to do this? The only other way I thought of was to just give whoever needed access the user & pass of the zssz user, but that's not going to be happening. |
man umask
Then I believe once you update your /etc/bash.bashrc it should set the permission value of files created. Hope this helps. |
All times are GMT -5. The time now is 10:32 PM. |