MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » May 2014

ifs permissions and qshell



fixed

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





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact