Cleaning up tens of millions of files in a few hundred directory.
Many have different owners, lots of private authorities (we have a big
savsecdta issue),
I want to end up with this:
Owner QVIASCNT
Primary Group QVIGROUP
Auth list IMAGEFILES
*PUBLIC *AUTL
Trying to avoid multiple passes through all of this because there are many
variations of owners and users
Owner SUSAN
Primary Group QVIGROUP
Auth list *NONE
*PUBLIC *RX
SUSAN *RWX
MARY *RWX
JIM *RWX
I can see how to do individual CHOWN and CHGRP, but looking for a better
way (and also need to not crash the operation)
find /image1 -user SUSAN -exec chown qvigroup {} \;
Jim Franz
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.