Assigning *nix permissions on a user basis
Moderator: Thanas
- Durandal
- Bile-Driven Hate Machine
- Posts: 17927
- Joined: 2002-07-03 06:26pm
- Location: Silicon Valley, CA
- Contact:
Assigning *nix permissions on a user basis
I want to know if it's possible to assign permissions in a *nix on a user-by-user basis. Let's say I have a folder. I want User A to have rwx permissions to this folder, User B to have rw- permissions and User C to only have r-- permissions. I can't create a group, because everyone in that group will have the same permissions. I want some way to tell OS X to give Users A, B and C specific, distinct permissions. It would also be helpful is this was possible for groups, as well. By all indications, I don't think this is possible, but maybe someone can enlighten me.
Damien Sorresso
"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
I concur with phongn. Unless ACL's are supported, there's no proper way to assign permissions on a user-by-user basis. That leaves us with an ugly mess of group permission trickery...Durandal wrote:I want to know if it's possible to assign permissions in a *nix on a user-by-user basis.
Have User A own the folder, with "rwx" permissons. Assign User B to Group B, which has group ownership of the folder, and has "rw" permissions. Then, set the "other" permissions to "r."
Er, yeah, that's not what you wanted at all.
"Hell or plunder, comrades - March!"
-Conan, Black Colossus, Robert E. Howard
-Conan, Black Colossus, Robert E. Howard
- Durandal
- Bile-Driven Hate Machine
- Posts: 17927
- Joined: 2002-07-03 06:26pm
- Location: Silicon Valley, CA
- Contact:
The problem is that that method isn't extensible beyond 3 users.
I guess I could just use separate directories or some other hodgepodge method. I thought that Windows was capable of doing this ...
I guess I could just use separate directories or some other hodgepodge method. I thought that Windows was capable of doing this ...
Damien Sorresso
"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
- Durandal
- Bile-Driven Hate Machine
- Posts: 17927
- Joined: 2002-07-03 06:26pm
- Location: Silicon Valley, CA
- Contact:
I was just musing. Is this in any way possible with Samba 3.0? Or does it talk directly to the system for permissions?phongn wrote:Windows NT, 2K, 2K3 and XP Pro are easily capable of doing this. I thought you were trying to do this on *nix?
Damien Sorresso
"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
Dual boot yellowdog with ACL patches. .
Can you patch darwin and still run MacOSX?
Can you patch darwin and still run MacOSX?
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor