Re: File and directory permissions
On Mon, Apr 22, 2002 at 09:10:26AM +0000, Martin Alfke wrote:
> You wrote:
>
> > From: martin f krafft <madduck@madduck.net>
> > Subject: Re: File and directory permissions
>
> What Martin sent in will work only if there are no white spaces
> in file- and directory-names.
>
> I would prefer this one:
>
> find [path] -type d -printf '"%p"\n' | xargs chmod 755
>
> (Please try first if %p is the correct term. Maybe
> %n is the correct substitution.)
or if some of your filenames have "\n" characters in them:
find . -type d -print0 | xargs -0 chmod 755
--
Michael Wood <mwood@its.uct.ac.za>
--
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: