Find the answer to your Linux question:
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. ...
  1. #1
    Just 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.

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    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.

  3. #3
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...