Find the answer to your Linux question:
Results 1 to 5 of 5
Hi all. Something I am missing here, I'm just not seeing. I'm sure it will be obvious to someone else though. I create a group foo2 I create a directory ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    3

    file/directory permissions

    Hi all. Something I am missing here, I'm just not seeing. I'm sure it will be obvious to someone else though.

    I create a group foo2
    I create a directory /usr/local/foo2 with following perms:
    drwxrwx--T 2 root foo2 4096 2011-01-22 09:50 foo2
    I add group foo2 to user foobar groups.

    The reason I added sticky bit is I wanted multiple users to read and write to this dir, (such as adding a photo or such), but no one to modify someone else's files. I also didn't want all users to even view it.

    Thanks.
    --
    dw

  2. #2
    Just Joined!
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    52
    I'm not sure if I understand your question?

    What exactly is it that you need help with?

  3. #3
    Just Joined!
    Join Date
    Jan 2011
    Posts
    3
    Sorry, I gave all the things I did and forgot to mention the original problem...

    None the less, the user foobar is not able to write to the directory
    /usr/local/foo2

    with following perms:
    drwxrwx--T 2 root foo2 4096 2011-01-22 09:50 foo2

    as mentioned earlier, I created the group foo2, the user foobar is a member of group foo2, the directory is group of foo2

    Thanks again.
    --
    dw

  4. #4
    Just Joined!
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    52
    heh, strange, I've done what you have described here, and it works like a charm. I guess I'm saying I cannot reproduce your problem.

    Could you verify that your user foobar actually *is* a member of the group foo2?

    Thing is, if you haven't logged all the way out and back in again, the new group won't "take effect"...

  5. #5
    Just Joined!
    Join Date
    Jan 2011
    Posts
    3
    Well, that was it. I checked the groups the user was in after adding and it showed it as having been added. I suppose on a reboot, everything else was changed. I knew it had to be something simple I just wasn't realizing.
    Thanks,
    --
    dw

Posting Permissions

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