chmod / files and directories
Philip M. Gollucci
philip at ridecharge.com
Mon Sep 10 10:38:16 PDT 2007
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 \.
>
> Cheers,
>
> Dan
>
--
------------------------------------------------------------------------
Philip M. Gollucci (philip at riderway.com) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF
Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
More information about the freebsd-questions
mailing list