Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 May 2008 14:25:02 +0200
From:      Zbigniew Szalbot <z.szalbot@lc-words.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: chmod operation on directories / files
Message-ID:  <48219F9E.7070106@lc-words.com>
In-Reply-To: <20080507120944.GA4405@healthgrid.org>
References:  <482198FA.8070708@lc-words.com> <20080507120944.GA4405@healthgrid.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hello,

Baptiste Grenier pisze:

> Using find(1), you can try something like this:
> 
> For files:
>   find /plop -type f -exec chmod 644 '{}' \;
> 
> For dirs:
>   find /plop -type d -exec chmod 755 '{}' \;


I have recieved many helpful replies. Thank you all. The above did the trick for me. I have saved it for future reference!


Thanks!

-- 
Zbigniew Szalbot
www.lc-words.com

[-- Attachment #2 --]
0	*H
010	+0	*H
0b0ˠ{KL/GY`0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
080426152039Z
090426152039Z0H10UThawte Freemail Member1%0#	*H
	z.szalbot@lc-words.com00
	*H
0rep%'#Ouu);3Q{e摶y EU<>._$u}j_yӚMfO|y\=h!bTKky3	
.d?ge(zz3010!U0z.szalbot@lc-words.com0U00
	*H
wm_Uϩ^C{cdl8j*?)zLLoZ~h:b3
CjRm6?JqL/jA02&yG(	Q[$f060b0ˠ{KL/GY`0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
080426152039Z
090426152039Z0H10UThawte Freemail Member1%0#	*H
	z.szalbot@lc-words.com00
	*H
0rep%'#Ouu);3Q{e摶y EU<>._$u}j_yӚMfO|y\=h!bTKky3	
.d?ge(zz3010!U0z.szalbot@lc-words.com0U00
	*H
wm_Uϩ^C{cdl8j*?)zLLoZ~h:b3
CjRm6?JqL/jA02&yG(	Q[$f060?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO100v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA{KL/GY`0	+0	*H
	1	*H
0	*H
	1
080507122502Z0#	*H
	1mVՇ'љmQ0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA{KL/GY`0*H
	1xv0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA{KL/GY`0
	*H
leAJ4ueͪm4s,.c_4}ci
ӌNɺvSDZUN{@NNE$T)tFe[7f~^[LRm
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48219F9E.7070106>