Hi Alec ,

mmfind doesn’t have a man page (does it have an online one ? I cannot find it). And according to mmfind -h it doesn’t exposes the “-N” neither  the “-B” flags. RPM is gpfs.base-5.1.1-2.x86_64.

 

Do I have chance to download a newest version of that script from somewhere ?

 

Thanks,

 

   Alvise

 

Da: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> Per conto di Dorigo Alvise (PSI)
Inviato: lunedì 13 dicembre 2021 11:50
A: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>
Oggetto: [gpfsug-discuss] R: Question on changing mode on many files

 

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@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> Per conto di Alec
Inviato: domenica 12 dicembre 2021 23:04
A: gpfsug main discussion list <
gpfsug-discuss@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@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://gpfsug.org/mailman/listinfo/gpfsug-discuss