11 Posts
0
1751
chown to a local administrators group Isilon
Hi,
On our Isilon OneFS, we have a local Administrators group. I would like to change the owner of the directory to this local Administrators group.
#chown -s :Administrators test10
The cli will not change anything.
# chown Administrators test10
chown: Administrators: illegal user name
# chown -s group Administrators test10
chown: Administrators: No such file or directory
# chown -s group:Administrators test10
that cli will change the owner to "OWNER: user:group"
But I can use the chmod to add this local administrators and assign the permission, it also shows as "BUILTIN\Administrators" at Windows ACL permission.
#chmod +a group Administrators allow dir_gen_all,object_inherit,container_inherit test10
#ls -led test10
drwxrwx--- + 2 root wheel 0 Mar 26 13:31 test10
OWNER: user:root
GROUP: group:wheel
0: group:Administrators allow dir_gen_all,object_inherit,container_inherit
So how can I chown the directory to " OWNER: group:Administrators"?
Thanks,
Cher
Thanks,
Chi
Peter_Sero
1.2K Posts
0
March 26th, 2021 14:00
That's not how the Force works...
The OWNER is always a single user.
To change the GROUP, also called "primary group", use the chgrp command.
hth
-- Peter