From owner-freebsd-ports Mon Feb 25 20:14:17 2002 Delivered-To: freebsd-ports@freebsd.org Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by hub.freebsd.org (Postfix) with ESMTP id 6BE5D37B41C for ; Mon, 25 Feb 2002 20:14:15 -0800 (PST) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.11.6/8.11.6) id g1Q4BET79764; Mon, 25 Feb 2002 23:11:14 -0500 (EST) (envelope-from alane) Date: Mon, 25 Feb 2002 23:11:14 -0500 From: Alan Eldridge To: Bob Bomar Cc: FreeBSD Ports List Subject: Re: Changeing permissions Message-ID: <20020226041114.GA77083@wwweasel.geeksrus.net> References: <20020225214321.B3401@fly.homeunix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020225214321.B3401@fly.homeunix.org> User-Agent: Mutt/1.3.26i X-message-flag: Magic 8-Ball says "Outlook not so good." I'll ask it about Exchange next. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Feb 25, 2002 at 09:43:21PM -0600, Bob Bomar wrote: >I am working on a port for SquirrelMail. I have it almost ready to submit. Don't bother, Bob. Squirrelmail is already in the ports tree, as mail/squirrelmail. >But when I was testing it, everything came out perfect, except for the >permissions. How would I change the permissions of all the folders to one thing >and all the files to another? In a port Makefile, using the appropriate macros, you would do this: ${FIND} dir ... -type d | ${XARGS} ${CHMOD} .... ${FIND} dir ... -type f | ${XARGS} ${CHMOD} .... -- Alan Eldridge "Dave's not here, man." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message