Linux File Permissions

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

I have a directory which I'm trying to give a group access to, when I set the permissions to 775 I get the desired permission but I still can't create anything in it. When I run ls -l I see the permissions as drwxrwxr-x+. I'm not sure what the plus sign is doing there and it seems that its messing with things because I have another directory with the permissions drwxdrwxr-x and I can create files in it just fine. How do I remove the plus and what exactly does it do?
  • kc0tma
  • o|||||||o
  • Web Master
  • User avatar
  • Posts: 3318
  • Loc: Trout Creek, MT

Post 3+ Months Ago

Are you sure its a plus sign? Because normally that last spot is either empty or it contains the letter t. Thats the sticky bit, quoting the red hat book "Setting the sticky bit prevents users from deleting each others' files, even though they have full access to the directory."
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

does the group own the folder? lol
i'm guessing kc0tma is spot on, but it was my first thought :-x
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

The group does won the folder, here is a screen shot of the list.

Attachments:
l.jpg


And the user that is trying to access the folder is part of the joetra group.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

yea i've never seen that before tmk. maybe try executing a chmod command again?
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

I've done it a few times, I've gone all the way to do 700, I might try contacting my house host, as this is not a my server, and see what its all about.
  • kc0tma
  • o|||||||o
  • Web Master
  • User avatar
  • Posts: 3318
  • Loc: Trout Creek, MT

Post 3+ Months Ago

I wonder if its got some sort of wacky GUID or something, I can't remember how to do that kind of stuff.

Or maybe I'm just being stupid, I need a nap.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

according to this, the + sign indicates there may be an access control list associated with the file. check out
man getfacl
man setfacl

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 46 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.