Searching through Directories and Files.

Aterea Brown aterea.brown at aut.ac.nz
Thu Jul 6 20:10:28 UTC 2006


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 at yahoo.co.uk> 14:53
06/07/2006 >>>
Try this  ls -Rdl | grep rwx------ > 123 

----- Original Message ----
From: Andrew.Bridgeman at corusgroup.com 
To: redhat-list at redhat.com 
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 at redhat.com?subject=unsubscribe

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




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe

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




More information about the redhat-list mailing list