A directory created in SKEL directory needs to have a default ACL set that allows the
members of the group “linux” to read all files and subdirectories.
But after doing above steps, if i add new user to a system with group as linux it
is not applying default ACL.Need some help
Breakdown:
setfacl = set acl’s.
-d = default
-m = modify existing acl
g = group, linux is naturally the name of the group and rwx are the default permissions for the directory and ALL FILES UNDER IT.
Then run:
getfacl /home/derp/directory
derp
naturally being the account you created, it should print out something like:
As you can see, when creating the new user the permissions for the directory (default ones) were retained and all files created under it will be read-write-execute for users in the linux group.
On Tue, 27 Jan 2015 10:16:01 +0000, brnandakrishnan wrote:
> I have a doubt regarding ACL
>
> I want to give permissions to a group using ACL
>
> A directory created in SKEL directory needs to have a default ACL set
> that allows the members of the group “linux” to read all files and
> subdirectories.
>
> But after doing above steps, if i add new user to a system with group as
> linux it is not applying default ACL.Need some help
There’s no need to ask the same question in multiple forums here - pick
the one that seems most suitable, and if it needs to be moved, someone on
staff can move it.
Youv’e asked this same question in the install/boot/login forum as well.
On 1/27/2015 4:56 AM, Miuku wrote:
>
> In skel;
>
> Code:
> --------------------
>
> setfacl -d -m g:linux:rwx directory
>
> --------------------
>
>
>
With KDE this can also be done in the GUI. Right click the directory, Properties > Permissions > Advanced Permissions >
Add Entry. Here you can specify ACLs for the Mask, Users and Groups. Depending on the permissions of the directory you
may need to use “File Manager-Super User Mode”
–
P.V.
“We’re all in this together, I’m pulling for you” Red Green
We can set th e permissions following your steps or by using setfacl command.
But if i create a directory in skel, all contents will be copied when the new users are created
So if i set the permissions using ACL to a folder in skel directory its not applying to new users.