Date: Sat, 12 Mar 2005 11:49:11 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Fafa Diliha Romanova <fteg@london.com> Cc: questions@freebsd.org Subject: Re: chmod equivalent to find commands Message-ID: <20050312174910.GB29768@dan.emsphone.com> In-Reply-To: <20050312115359.C14EF4BE6D@ws1-1.us4.outblaze.com> References: <20050312115359.C14EF4BE6D@ws1-1.us4.outblaze.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 12), Fafa Diliha Romanova said: > i know there's an equivalent to these two find commands that > can be summed up in one chmod command: > > find . -type d -exec chmod 755 {} \; > find . -type f -exec chmod 644 {} \; > > it fixes my permissions ... > i haven't tested this yet but i think it's wrong: chmod -R u+rwX,a+rX That chmod command should work just fine. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050312174910.GB29768>