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 give permission to a specific user for a particular folder?

I don't want to give permission to the entire group but only to a particular user in the group.

I don't have root permissions.

share|improve this question
add comment

1 Answer 1

Use an ACL, these are supported by most Unix derivatives. There is a decent introduction to ACLs on Linux here, and a (more Arch-specific, but still useful) guide here.

share|improve this answer
    
+1 for showing me a feature I didn't know about. –  jwernerny Sep 22 '11 at 14:56
    
The links given by @chris give excellent examples. Here is a simple example for setting read/write permissions for a user named john on a file named test.c: setfacl -m u:john:rw test.c –  casualunixer Sep 24 '11 at 0:55
add comment

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.