chmod / files and directories
Daniel Bye
freebsd-questions at slightlystrange.org
Mon Sep 10 10:45:00 PDT 2007
On Mon, Sep 10, 2007 at 01:38:13PM -0400, Philip M. Gollucci wrote:
> Daniel Bye wrote:
> > On Mon, Sep 10, 2007 at 10:01:35PM +0530, Shantanoo Mahajan wrote:
> >> # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \;
> >> # find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \;
> >>
> >> To be on safer side. :)
> >
> > Oh? Safer how? I've never come across that idiom before.
> If imange the file or directory name has spaces, (){}-, etc.. in it or
> even \.
Ah, I see. Yes, makes sense.
Cheers.
Dan
--
Daniel Bye
PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070910/deb74cf7/attachment.pgp
More information about the freebsd-questions
mailing list