What is an example of a script that does this :
searches /root/ for instance and if it finds a directory does 'chmod 700'
on that directory and if it finds a file does 'chmod 600' on that file.

        I tryed to use 'find -exec', but how do i make chmod to take as an
argument the file name that 'find' finds ?
        
        thanx for any help.

**********************************************************
Andrei Postolache, Romania, [EMAIL PROTECTED]           
In these times computers are happy ... they have Linux ...
**********************************************************
        


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to