copy permissions problem

peter boos

Dabbler
Joined
Sep 21, 2020
Messages
35
We got a bit strange configuration around Home folders, due to some things in the past.
We got two groups of users who need to have Home folder acces.
Normal users, and interns. the interns group was added later.
Some users changed to the interns group, so their files are already present.
Interns are not allowed inside Normal users. (to restrict access in other software).

So through the Web gui, a new group "interns" was added with the same permission setup
So the root of Home folder looks fine now.

What i like to do next is (while standing in home/Domain)
getfacl . | setfacl -R --setfile = -/mnt/pool1/production/home/domain/student12

However this results in an error: "illigal option -- R"

All i want is adding the group interns to /student12, as she was created before this change see needs it to browse her home folder.
I dont want to overwrite all users permissions below /domain just add missing permissions to the few students involved.
to rewrite the groups on their home folder. (then later make them owner and full control)

root@files[...production/home/domain/getfacl .
# file: .
# owner: root
# group: wheel
group:DOMAIN\NormalUsers:r-----a-R-c---:fdi----:allow
group:DOMAIN\interns:r-----a-R-c---:fdi----:allow
owner@:rwxp--aARWcCos:-------:allow

group@:r-x---a-R-c--s:-------:allow


The folder of student12 is about the same but missing:
group:DOMAIN\interns:r-----a-R-c---:fdi----:allow
 
Top