8 Krypton

How can we set chmod -b -R 2755 <path>

Jump to solution

How can we set chmod -b -R 2755 <path> in Isilon ?

Labels (1)
Tags (2)
1 Solution

Accepted Solutions
Highlighted
8 Krypton

Re: How can we set chmod -b -R 2755 <path>

Jump to solution

It's possible to have chmod denied or ignored for files with an ACL.

In the Web GUI check under Protocols -> ACLs

chmod on files with existing ACLs:
Remove the existing ACL and set UNIX permissions instead
Remove the existing ACL and create an ACL equivalent to the UNIX permissions
Remove the existing ACL and create an ACL equivalent to the UNIX permissions, for all users/groups referenced in old ACL
Merge the new permissions with the existing ACL
Deny permission to modify the ACL
Ignore operation if file has an existing ACL

[Edit to add: The buttons are still clickable in the forum after copy-pasting from the actual GUI  ]

0 Kudos
4 Replies
8 Krypton

Re: How can we set chmod -b -R 2755 <path>

Jump to solution

Hello chughh27,

I am a bit confused by your question, can you clarify? I am able to apply this change to Isilon on the CLI:

mycluster-2# chmod -b -R 2755 /ifs/data/ktjoh

mycluster-2# ls -alh /ifs/data/ktjoh

total 4

drwxr-sr-x    2 root  wheel    0B Oct 25 18:28 .

drwxrwxrwx    4 root  wheel    45B Oct 25 18:28 ..

mycluster-2# ls -led /ifs/data/ktjoh

drwxr-sr-x    2 root  wheel  0 Oct 25 18:28 /ifs/data/ktjoh

OWNER: user:root

GROUP: group:wheel

SYNTHETIC ACL

0: user:root allow dir_gen_read,dir_gen_write,dir_gen_execute,std_write_dac,delete_child

1: group:wheel allow dir_gen_read,dir_gen_execute

2: everyone allow dir_gen_read,dir_gen_execute

Granted, I do not have any data in this directory, but it should be applicable here. Is there something else you are looking to do?

8 Krypton

Re: How can we set chmod -b -R 2755 <path>

Jump to solution

Hello Katie,

Thanks for reply. Is there any bug as I am using onefs 7.1.0.5  and same command (chmod -b -R 2755) is not making any changes.

What version of onefs have you tried ?

Thanks

0 Kudos
Highlighted
8 Krypton

Re: How can we set chmod -b -R 2755 <path>

Jump to solution

It's possible to have chmod denied or ignored for files with an ACL.

In the Web GUI check under Protocols -> ACLs

chmod on files with existing ACLs:
Remove the existing ACL and set UNIX permissions instead
Remove the existing ACL and create an ACL equivalent to the UNIX permissions
Remove the existing ACL and create an ACL equivalent to the UNIX permissions, for all users/groups referenced in old ACL
Merge the new permissions with the existing ACL
Deny permission to modify the ACL
Ignore operation if file has an existing ACL

[Edit to add: The buttons are still clickable in the forum after copy-pasting from the actual GUI  ]

0 Kudos
8 Krypton

Re: How can we set chmod -b -R 2755 <path>

Jump to solution

As Katie said, is there an ACL on the data already? That can certainly cause your display to give the appearance that nothing changed, when in fact the chmod was either ignored or the change you requested was merged in as an ACE into the ACL.

Look at it with ls -le /path , or if you have an ACL, and do an ls -l or ls -ld look for a plus sign to indicate that a REAL ACL exists and that the POSIX bits represented are synthetically generated based upon the ACL.

Chris Klosterman

Email: chris.klosterman@emc.com<mailto:chris.klosterman@emc.com>

Advisory Solution Architect

Offer and Enablement Team

EMC²| Emerging Technologies Division

0 Kudos