From owner-freebsd-questions Mon Jun 3 15: 9:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from out0.mx.nwbl.wi.voyager.net (out0.mx.nwbl.wi.voyager.net [169.207.3.118]) by hub.freebsd.org (Postfix) with ESMTP id A428637B40B for ; Mon, 3 Jun 2002 15:09:51 -0700 (PDT) Received: from shell.core.com (shell.core.com [169.207.1.89]) by out0.mx.nwbl.wi.voyager.net (8.12.3/8.11.4/1.7) with ESMTP id g53M9p5N006766; Mon, 3 Jun 2002 17:09:51 -0500 Received: from localhost (raiden@localhost) by shell.core.com (8.11.6/8.11.6/1.3) with ESMTP id g53M9o219437; Mon, 3 Jun 2002 17:09:50 -0500 (CDT) Date: Mon, 3 Jun 2002 17:09:50 -0500 (CDT) From: Steven Lake X-X-Sender: raiden@shell.core.com To: Ryan Thompson Cc: Steven Lake , Subject: Re: Questions about Chmod In-Reply-To: <20020603160504.S81228-100000@ren.sasknow.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 (Pounds head vigerously against wall) oh, duh. I should have known that. :) Ok, I shall engage brain now. hehe. Thanks for the help. On Mon, 3 Jun 2002, Ryan Thompson wrote: > Steven Lake wrote to Ryan Thompson: > > > ah, so it's happily mixing the find command with the chmod > > command. that works. > > > > But that still leaves my first question unanswered. How do I > > recursively change permissions on only directories without changing the > > permission on the files in them? > > find(1) is still your friend :-) > > Add -type d to your find arguments to only find directories. > > - Ryan > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message