Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

2642

October 24th, 2015 00:00

How can we set chmod -b -R 2755

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

1.2K Posts

October 26th, 2015 02:00

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  ]

130 Posts

October 25th, 2015 11:00

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?

39 Posts

October 25th, 2015 18:00

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

450 Posts

October 26th, 2015 11:00

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

Advisory Solution Architect

Offer and Enablement Team

EMC²| Emerging Technologies Division

No Events found!

Top