Date: Thu, 13 Sep 2001 14:55:47 -0500 From: Wayne Cuddy <wcuddy@crb-web.com> To: freebsd-questions@FreeBSD.org Subject: Re: chmod Message-ID: <20010913145547.G2701@crb-web.com> In-Reply-To: <sba0c382.037@mbakercorp.com>; from jwright@mbakercorp.com on Thu, Sep 13, 2001 at 02:32:15PM -0400 References: <sba0c382.037@mbakercorp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I use this: find . -type d -exec chmod 777 {} \; This executes chmod for each directory 'find' encounters and expands the {} to the directory name. 'find' is very useful.. On Thu, Sep 13, 2001 at 02:32:15PM -0400, Joseph Wright wrote: > Is their a way to chmod 777 all directories in a folder but not change the file attributes. > > I know if I run chmod 777 * it will change all files and directories but I just want to > chmod the folders. > > thanks > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010913145547.G2701>