setting inheritance using setfacl

Soldato
Joined
18 May 2010
Posts
22,984
Location
London
Im a bit of a linux amateur, but where I work all the servers etc use unix.

I have been setting acl's on folders using the setfacl method.

However due to the individual user whom Im giving rwx access to the folder/files, not beng in the same group the rest of the users are in, when I set acl on the top folder, when a user who is part of the group my user is not, they are not able to access the file, untill I give them explicit access too it.

How can I set it so that when I set a setfacl recursivly on the files within a folder, the permissions get inherited when a new object within this folder is created by7 a user in agroup my user is not?

I hope you understood my ramblings.....

thanks :confused::p
 
Last edited:
You Beauty, I think it worked!

Im basically trying to set permissions on a folder so that the the permissions are inherited, by the user, even tho they are not part of a group of users creating the files/folders.

But thanks, the command went through with out complaining so I assume it is succesfull.

:eek:
 
Ok it worked yesterday on a folder with no spaces in the file name.

however today Im trying to do the same thing, but the folder has spaces in it, and it has me :confused:


I am trying to do the same thing but on a folder with spaces in the file name.

Here is a screen grab.
 
Last edited:
Back
Top Bottom