hi,

change directory to desired folder(directory)


find . -type d -exec chmod 777 {} \;
find . -type f -exec chmod 755 {} \;
Best Regards

Jalal Hajigholamali


> From [EMAIL PROTECTED] Wed Nov  1 07:35:21 2000
> Delivered-To: [EMAIL PROTECTED]
> From: "Deependra B. Tandukar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: chmod
> Date: Wed, 1 Nov 2000 09:39:11 +0530
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
> X-Loop: [EMAIL PROTECTED]
> X-BeenThere: [EMAIL PROTECTED]
> X-Mailman-Version: 2.0beta4
> List-Id: General Red Hat discussion list <redhat-list.redhat.com>
> X-MDaemon-Deliver-To: [EMAIL PROTECTED]
> X-Return-Path: [EMAIL PROTECTED]
> X-MDRcpt-To: [EMAIL PROTECTED]
> X-MDRemoteIP: 199.183.24.211
> 
> Dear All,
> 
> I know, it can be done but forgot.
> 
> I have a folder with many subfolders and files. I want to give all the files
> chmod 755 and all the folders 777. Can any one help?
> 
> regards
> DT
> ----- Original Message -----
> From: Matthew Melvin <[EMAIL PROTECTED]>
> To: Dan Horth <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, November 01, 2000 9:01 AM
> Subject: Re: OT: Help with a REGEXP please!
> 
> 
> >
> > Try....
> >
> > grep -E "192\.168\.2\.(6[4-9]|[7,8][0-9]|9[0-5])"
> >
> > M.
> >
> >
> > On Wed, 1 Nov 2000, Dan Horth wrote:
> >
> > > hiya - I'm trying to make a regexp string to match the following IP
> range:
> > >
> > > 192.168.2.64/27
> > >
> > > ie I want to match 192.168.2.64 through 192.168.2.95 inclusive, but
> > > do not want to match things like 192.168.2.60 or 192.168.2.99
> > >
> > > I'm kinda close with:
> > >
> > > grep "192\.168\.2\.[6-9][0-9]"
> > >
> > > except it's basically matching 192.168.2.60 - 192.168.2.99 inclusive...
> > >
> > > I really want to make the match with just one REGEXP - is this
> > > possible or am I being deluded?
> > >
> > >
> > > TIA _ dan.
> > >
> > > ps. thanks for all those who sent in stuff about my NetWare vs Linux
> > > conundrums... will be posting a follow-up on that after lunch...
> > >
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to