Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 17:09:50 -0500 (CDT)
From:      Steven Lake <raiden@shell.core.com>
To:        Ryan Thompson <ryan@sasknow.com>
Cc:        Steven Lake <raiden@shell.core.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Questions about Chmod
Message-ID:  <Pine.GSO.4.44L0.0206031707540.18813-100000@shell.core.com>
In-Reply-To: <20020603160504.S81228-100000@ren.sasknow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
	(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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44L0.0206031707540.18813-100000>