Permissions

Hi,

A file or a directory can be owned by only one user and one group, correct me if I am wrong. And what I would like to do is add more than one user and a group to it. Let's say there is a directory called "mydir" which belongs to the user and group jack:group_jill. Now, I would like to add (not chown) the user "john" and group "acme" to this directory "mydir". How can I do this?

Can a file have more than one owner and a group?

Thanks!

if your os is capable of acl's, you can solve your problem... have a look at

https://www.k-state.edu/cns/software/unix/acl.html

for an example. the commands to use acl's might be different, depending on your os!

hth,
DN2