From owner-freebsd-questions Fri Sep 14 4:10:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 4D6D237B410 for ; Fri, 14 Sep 2001 04:09:51 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f8EB7ck15620; Fri, 14 Sep 2001 14:07:38 +0300 (EEST) (envelope-from ru) Date: Fri, 14 Sep 2001 14:07:38 +0300 From: Ruslan Ermilov To: Wayne Cuddy Cc: freebsd-questions@FreeBSD.ORG Subject: Re: chmod Message-ID: <20010914140738.D12915@sunbay.com> References: <20010913145547.G2701@crb-web.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010913145547.G2701@crb-web.com>; from wcuddy@crb-web.com on Thu, Sep 13, 2001 at 02:55:47PM -0500 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 On Thu, Sep 13, 2001 at 02:55:47PM -0500, Wayne Cuddy wrote: > 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.. > find . -type d | xargs chmod 777 is much faster. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message