Find the answer to your Linux question:
Results 1 to 3 of 3
Hi everybody, another permissions question... I have a web directory in which there are 2 users working in, from a MS. Windows connection. These 2 users belong to the same ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    51

    [SOLVED] Permissions

    Hi everybody, another permissions question...

    I have a web directory in which there are 2 users working in, from a MS. Windows connection.

    These 2 users belong to the same group, but the problem is that when any of these users create a directory or a file into www, it is created with 755 permission, so then, the other user can't write into this new file/directory.

    The question is:

    Is there a way to create directly these files/directiories with write permissions for the group??

    Thanks!!!

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    change the umask for both users

    the default umask is 022 change it to 002
    umask 002

    and read "man umask"

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    51

    Perfect

    Thanks a lot, it works perfectly....

Posting Permissions

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