Searching through Directories and Files.

Lunt, Nick Nick.Lunt at wesleyan.co.uk
Wed Jul 5 07:43:20 UTC 2006


Nice one Jack,

I've never noticed the -not option to find before.

Thankyou 
Nick .

> -----Original Message-----
> From: Jack Challen [mailto:jack_challen at ocsl.co.uk]
> Sent: 04 July 2006 17:08
> To: General Red Hat Linux discussion list
> Subject: Re: Searching through Directories and Files.
> 
> 
> Andrew.Bridgeman at corusgroup.com wrote:
> > 
> > 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- - - - - -
> 
> find /wherever -not -perm -070
> 
> > and also i need to find out which directories do
> > not have the group set to "projects" group. Any help would be much
> > appreciated.
> 
> find . -not -group projects
> 
> 
> jack
> 
> -- 
> Jack Challen
> Technical Consultant, OCSL.
> http://www.ocsl.co.uk/
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 
> 

"wesleyan.co.uk" is the email address for the Wesleyan group of companies which includes the following firms :-

Wesleyan Assurance Society* (registered no. ZC145) which is a life and pensions product provider.

Wesleyan Financial Services Limited* (registered no. 1651212) which provides an advisory service on investments, pensions, protection and general insurance business through its Wesleyan Medical Sickness, Wesleyan for Teachers, Wesleyan Insurance Services and Wesleyan Financial Services divisions.

Wesleyan Unit Trust Managers Limited* (registered no. 2114859) which is an ISA/ Unit Trust Manager. ("WUTM ").

Wesleyan Savings Bank Ltd* (registered no. 2839202) which is a retail bank.

* Authorised and regulated by the Financial Services Authority.

Address: Colmore Circus, Birmingham B4 6AR Telephone  0845 351 2352.
Website address: www.wesleyan.co.uk.

WUTM's Administration Centre is PO Box 9033, Chelmsford, SM99 2WQ Dedicated Telephone 0870 601 6129.

All telephone calls may be recorded for monitoring and training purposes.

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law.

Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately.

The contents of any attachments in this email may contain software viruses, which could damage your own computer system. While every reasonable precaution to minimise the risk has been taken, we cannot accept liability for any damage that you sustain as a result of procedure before opening any attachment.





More information about the redhat-list mailing list