Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How can I assign folder permissions in Fedora 14 using the command line?

I'd like to give read/write/execute permissions to :

  • 2 users (tom, jim) to the folder /Home/Share
  • 1 group (employees) to the folder /Home/Share/Employees

However, I'm not sure how to do this properly from a shell.

share|improve this question

migrated from stackoverflow.com May 9 '12 at 9:15

This question came from our site for professional and enthusiast programmers.

2 Answers 2

Take a look at the whole user/group/others stuff in Unix, that might help. But it looks like you want to set up stuff that is very awkward for more than a few groups. Perhaps what you need is finer granularity, as the ACL (Access Control Lists) offer on some filesystems. Check out the manual pages for acl(5), setfacl(1) and nearby ones.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.