How to stop permissions inheritance?

C

chrbar

Guest
Hello,

I would like to know if it's possible to stop permissions inheritance?

I've a level-1 folder named "common", wherein all users can read/write.
Inside this folder, I've created a level-2 folder named "private" wherein members of "abc" group can enter/read/write.

I can build correctly this structure, but I'd like that members of "abc" are not able to rename "private" folder, and I don't succeed to do that!
I've tried many way, including ACL, but it doesn't work!
I'm not sure, but I think the problem is that members of "abc" group are member of "users" (member of child folder/group are member of parent folder/group)!

Do you know how can I do that?

Thanks for your help,
Chris

\common\private\

root@server:/# getfacl common
# file: common
# owner: root
# group: users
# flags: -s-
user::rwx
group::rwx
other::---

root@server:/common# getfacl private
# file: private
# owner: root
# group: abc
# flags: -s-
user::rwx
group::rwx
other::---
 
Last edited:

Staff online


Top