English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'd like to pick and choose which directories to give a user access to. Will chown allow me to add an owner without replacing the previous one? I don't really want to make groups, because I have a pretty complex system of organization for things (it works, I swear!).

Thanks
-Sean

2007-02-05 04:01:06 · 5 answers · asked by Remiel 2 in Computers & Internet Programming & Design

5 answers

No, it is not possible to add an owner, only to change an owner. To do what you want to do, you need groups and chmod.

2007-02-05 04:14:58 · answer #1 · answered by Beam 3 · 0 0

Sorry, chown changes the owner. If you want multiple owners then you have to create a group.

Sucky as it may be, Windows does have better ACLs than Unix. Hopefully someone is working on that.

2007-02-05 12:06:34 · answer #2 · answered by Rose D 7 · 0 0

chown will replace the ownership of the directory you set it to. The previous one will be replaced.

2007-02-05 12:04:16 · answer #3 · answered by Grasshopper 4 · 1 0

There is a manual available, open a console and use the command:

man chown

Also this command which stands for "change group"

man chgrp

There is a huge resource online called "The Linux Documentation Project" here http://www.tldp.org/

2007-02-05 12:16:08 · answer #4 · answered by Anonymous · 0 0

chown = change owner. One owner per file.

2007-02-05 12:04:04 · answer #5 · answered by Meg W 5 · 1 0

fedest.com, questions and answers