[gpfsug-discuss] immutable folder

Paul Ward p.ward at nhm.ac.uk
Mon Feb 21 12:30:15 GMT 2022


HI,

I have a folder that I can't delete.
IAM mode - non-compliant
It is empty:

file name:            Nick Foster's sample/
metadata replication: 2 max 2
immutable:            yes
appendOnly:           no
indefiniteRetention:  no
expiration Time:      Thu Jan  9 23:10:25 2020
flags:
storage pool name:    system
fileset name:         bulk-fset
snapshot name:
creation time:        Sat Jan  9 04:44:16 2016
Misc attributes:      DIRECTORY READONLY
Encrypted:            no

Try and turn off immutability:
mmchattr -i no "Nick Foster's sample"
Nick Foster's sample: Change immutable flag failed: Operation not permitted.
Can not set immutable or appendOnly flag to No and indefiniteRetention flag to Unchanged, Permission denied!

So can't leave it unchanged... Tried setting indefiniteRetention no and yes:

mmchattr -i no --indefinite-retention no "Nick Foster's sample"
Nick Foster's sample: Change immutable, enforceRetention flags failed: Operation not permitted.
Can not set immutable or appendOnly flag to No and indefiniteRetention flag to No, Permission denied!

mmchattr -i no --indefinite-retention yes "Nick Foster's sample"
Nick Foster's sample: Change immutable, enforceRetention flags failed: Operation not permitted.
Can not set immutable or appendOnly flag to No and indefiniteRetention flag to Yes, Permission denied!

Any ideas?


Kindest regards,
Paul

Paul Ward
TS Infrastructure Architect
Natural History Museum
T: 02079426450
E: p.ward at nhm.ac.uk<mailto:p.ward at nhm.ac.uk>
[A picture containing drawing  Description automatically generated]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20220221/7cff7cd2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5356 bytes
Desc: image001.jpg
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20220221/7cff7cd2/attachment-0001.jpg>


More information about the gpfsug-discuss mailing list