Results 1 to 3 of 3
Hi,
Can anyone help me? I run a group of Linux machines and am a user and administrator for these machines. There are two other users who use these machines. ...
- 08-02-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 2
Linux File Permissions
Hi,
Can anyone help me? I run a group of Linux machines and am a user and administrator for these machines. There are two other users who use these machines. I am having problems with file permissions in that whenever someone creates a directory or file, the permissions are always only rwx for the user. This means that the other two users cannot pick these files up or work in directories unless they use the Chmod command.
I want all files to be created as rwxrwxrwx or at least rwxrwxr_x. This means that all three users can access each others files. Is there any way I can specify in the users login files (.bashrc ?) that all files and directories that are created must have permissions set to rwxrwxrwx???
Thanks.
- 08-02-2007 #2
Do you realize the security implications of doing this?
That being said umask 000 will do the trick.
A better idea is to add the three users to some group. Then set a directory with SUID bit on the group, so everybody in the group will be able to perform operations on the files created in that folder.
- 08-02-2007 #3Just Joined!
- Join Date
- Aug 2007
- Posts
- 2
Linux permissions
Great - thanks for that and it seems to have done the trick.
The security issues are fine in this case by the way.


Reply With Quote