From owner-freebsd-questions Thu Sep 13 11:45:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from crb.crb-web.com (c2.e0bed1.client.atlantech.net [209.190.224.194]) by hub.freebsd.org (Postfix) with ESMTP id 339F737B411 for ; Thu, 13 Sep 2001 11:45:24 -0700 (PDT) Received: from wcuddy by crb.crb-web.com with local (Exim 3.22 #1) id 15hcaR-00010V-00 for freebsd-questions@FreeBSD.org; Thu, 13 Sep 2001 14:55:47 -0500 Date: Thu, 13 Sep 2001 14:55:47 -0500 From: Wayne Cuddy To: freebsd-questions@FreeBSD.org Subject: Re: chmod Message-ID: <20010913145547.G2701@crb-web.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jwright@mbakercorp.com on Thu, Sep 13, 2001 at 02:32:15PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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