Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Can I set 2 or more owners for one folder?

For example:

  • 2 users can read/write,
  • DC group users can read,
  • others can't see

How to I achieve the above configuration on that folder?

share|improve this question
    
about owner > owner will be one cant be 2 –  One Zero Jan 30 '12 at 3:56

2 Answers 2

It is possible to do this by using groups or ACL (access control lists).

You can add multiple users to a single group, and then apply that group as having access.

Or, you can enable ACL on your ext4 filesystem by adding acl to the list of mount options for your partition.

Then, install eicel Install eicel to configure the access.

share|improve this answer
    
ACL is the way to go. –  bodhi.zazen Jan 30 '12 at 4:11
    
Acl should be enabled by default in ext4. –  enzotib Jan 30 '12 at 6:58
                                 Permissions

Every file/folder on the system has associated with it a set of permissions. Permissions

tell LINUX what can be done with that file/folder and by whom. There are three things you

can (or can't) do with a given file:

read it,

write (modify) it

execute it

mkdir /practice

ls –ls /practice

drwxr-xr-x 2 root root 512 Nov 2  17:38 /practice

https://help.ubuntu.com/community/FilePermissions

( READ IT )

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.