Re: Searching through Directories and Files.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



maybe you could also use find / -not -perm -g=rwx -printf "%p %M\n"
This will search your entire file system and print out all the files
that dont have exactly rwx in group permissions.



>>> Asanka Gunasekera <asanka_gunasekera@xxxxxxxxxxx> 14:53
06/07/2006 >>>
Try this  ls -Rdl | grep rwx------ > 123 

----- Original Message ----
From: Andrew.Bridgeman@xxxxxxxxxxxxxx 
To: redhat-list@xxxxxxxxxx 
Sent: Tuesday, 4 July, 2006 4:08:40 PM
Subject: Searching through Directories and Files.



Hello,
             I am currently running many Redhat machines and wondered
if
someone could give the correct command to  recursively find out which
Files
and Directories have not got rwx in the group permission's for
example
things like rwx- - - - - - and also i need to find out which
directories do
not have the group set to "projects" group. Any help would be much
appreciated.

Regards

Andrew Bridgeman
**********************************************************************
This transmission is confidential and must not be used or disclosed
by
anyone other than the intended recipient. Neither Corus Group Plc
nor
any of its subsidiaries can accept any responsibility for any use or
misuse of the transmission by anyone.
**********************************************************************


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe

https://www.redhat.com/mailman/listinfo/redhat-list 




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe

https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux