Date: Mon, 10 Sep 2007 13:38:13 -0400 From: "Philip M. Gollucci" <philip@ridecharge.com> To: freebsd-questions@freebsd.org Subject: Re: chmod / files and directories Message-ID: <46E58105.4000200@ridecharge.com> In-Reply-To: <20070910173609.GC20159@catflap.slightlystrange.org> References: <94136a2c0709100856q768b101as96e1e6d16312d374@mail.gmail.com> <20070910160607.GA20159@catflap.slightlystrange.org> <20070910161006.GB20159@catflap.slightlystrange.org> <A2DB3A06-0AC3-4975-AAD0-75638560AC76@gmail.com> <20070910173609.GC20159@catflap.slightlystrange.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46E58105.4000200>