Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 23:11:14 -0500
From:      Alan Eldridge <alane@geeksrus.net>
To:        Bob Bomar <bomar@fly.homeunix.org>
Cc:        FreeBSD Ports List <ports@freebsd.org>
Subject:   Re: Changeing permissions
Message-ID:  <20020226041114.GA77083@wwweasel.geeksrus.net>
In-Reply-To: <20020225214321.B3401@fly.homeunix.org>
References:  <20020225214321.B3401@fly.homeunix.org>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020226041114.GA77083>