From owner-freebsd-questions@FreeBSD.ORG Wed May 31 01:28:16 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6F1A16A719 for ; Wed, 31 May 2006 01:28:16 +0000 (UTC) (envelope-from aaron@aaronholmes.net) Received: from evildomain.org (adsl-68-125-35-48.dsl.irvnca.pacbell.net [68.125.35.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3ECF43D53 for ; Wed, 31 May 2006 01:28:15 +0000 (GMT) (envelope-from aaron@aaronholmes.net) Received: by evildomain.org (Postfix, from userid 1013) id 3F69AB01; Sat, 27 May 2006 02:18:51 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on evildomain.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.1 Received: from [192.168.1.99] (router.evildomain.org [192.168.1.1]) by evildomain.org (Postfix) with ESMTP id A4F1C433; Sat, 27 May 2006 02:18:50 -0700 (PDT) Message-ID: <44781984.4080702@aaronholmes.net> Date: Sat, 27 May 2006 02:19:00 -0700 From: Aaron Holmes User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Kyrre Nygard References: <7.0.1.0.2.20060527102456.022a6fb0@broadpark.no> <200605270046.04333.beech@alaskaparadise.com> <7.0.1.0.2.20060527111043.022bfb40@broadpark.no> In-Reply-To: <7.0.1.0.2.20060527111043.022bfb40@broadpark.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, Beech Rintoul Subject: Re: Sharing /usr/local/www X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 01:28:20 -0000 Kyrre Nygard wrote: > At 10:45 27.05.2006, Beech Rintoul wrote: >> On Saturday 27 May 2006 00:32, Kyrre Nygard wrote: >> > Hello! >> > >> > I have a team of designers working on web 2.0 like sites. >> > >> > I have added them all to this box, now I'm wondering what's the most >> > convenient way of giving them all access to /usr/local/www? >> > >> > My temporary solution has been to add all users with UID and GID 80, >> > and then ln -s /usr/local/www ~/collabo for each user. >> > >> > If users have their original UID instead of www's then somehow they >> can't >> > read or write to /usr/local/www. I thought sharing the same GID was >> > sufficient, but obviously it isn't. I find this very strange. >> > >> > Some of them prefer just using FTP, so then being able to click on >> collabo@ >> > and go straight to /usr/local/www is very convenient for them. >> > >> > But is there a better way? >> > >> > Thanks, >> > Kyrre >> >> CVS is your friend. But there are also a ton of php scripts out there >> to do >> what you want. >> >> Beech >> -- > > Yeah I hear a lot of people like CVS. > > But I fail to realize how it might assist me though. > > I'm not setting up a code repository, this is an actual WWW root > where a lot of different websites are hosted. > > Please correct me if I'm wrong. > > And what PHP scripts are you talking about? > > Thanks a lot, > Kyrre > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I think the easiest way would be to add them all to a similar group (www, perhaps) and chown -R user:group /usr/local/www; chmod -R g+rw /usr/local/www This will give whatever group you specify read, and write access to the directory.