From owner-freebsd-questions Mon Jun 3 14:54:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from out2.mx.nwbl.wi.voyager.net (out2.mx.nwbl.wi.voyager.net [169.207.3.120]) by hub.freebsd.org (Postfix) with ESMTP id A371A37B40B for ; Mon, 3 Jun 2002 14:54:37 -0700 (PDT) Received: from shell.core.com (shell.core.com [169.207.1.89]) by out2.mx.nwbl.wi.voyager.net (8.12.3/8.11.4/1.7) with ESMTP id g53Lsarh027304 for ; Mon, 3 Jun 2002 16:54:36 -0500 Received: from localhost (raiden@localhost) by shell.core.com (8.11.6/8.11.6/1.3) with ESMTP id g53LsZu18280 for ; Mon, 3 Jun 2002 16:54:36 -0500 (CDT) Date: Mon, 3 Jun 2002 16:54:35 -0500 (CDT) From: Steven Lake X-X-Sender: raiden@shell.core.com To: freebsd-questions@FreeBSD.ORG Subject: Questions about Chmod 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 I've got two questions about Chmod that I couldn't answer via the man pages. Either I'm not reading good enough or the answer isn't there. 1. Recursive item only changes 2. Selective file changes Ok, the first thing I'm curious of is how to do a recursive chmod on say directories only. This also plays into the second question which is how do I do a recursive or system wide chmod on only certain files based on a variable or name. So like if I wanted to chmod 755 all directories on a system with the name "WWW", or with all files containing the letters "BLD". How would I go about doing this? Just curious. Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message