[gpfsug-discuss] R: Question on changing mode on many files

Dorigo Alvise (PSI) alvise.dorigo at psi.ch
Mon Dec 13 10:49:37 GMT 2021


I am definitely going to try this solution with mmfind.
Thank you also for the command line and several hints… I’ll be back with the outcome soon.

   Alvise

Da: gpfsug-discuss-bounces at spectrumscale.org <gpfsug-discuss-bounces at spectrumscale.org> Per conto di Alec
Inviato: domenica 12 dicembre 2021 23:04
A: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Oggetto: Re: [gpfsug-discuss] Question on changing mode on many files

How am I just learning about this right now, thank you!  Makes so much more sense now the odd behaviors I've seen over the years on GPFS vs POSIX chmod/ACL.  Will definitely go review those settings on my filesets now, wonder if the default has evolved from 3.x -> 4.x -> 5.x.

IBM needs to find a way to pre-compile mmfind and make it supported, it really is essential and so beneficial, and so hard to get done in a production regulated environment.  Though a bigger warning that the compress option is an action not a criteria!

Alec

On Sun, Dec 12, 2021 at 9:01 AM Simon Thompson <s.j.thompson at bham.ac.uk<mailto:s.j.thompson at bham.ac.uk>> wrote:
> I'm not sure if this happens on Spectrum Scale but on most FS's if you do a chmod 770 file you'll lose any ACLs assigned to the
> file, so safest to bump the permissions with a subtractive or additive o-w or g+w type operation.

This depends entirely on the fileset setting, see:
https://www.ibm.com/docs/en/spectrum-scale/5.1.2?topic=reference-mmchfileset-command

“allow-permission-change”

We typically have file-sets set to chmodAndUpdateAcl, though not exclusively, I think it was some quirky software that tested the permissions after doing something and didn’t like the updatewithAcl thing …

Simon
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org<http://spectrumscale.org>
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20211213/4d5a2b85/attachment-0002.htm>


More information about the gpfsug-discuss mailing list