Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2006 02:19:00 -0700
From:      Aaron Holmes <aaron@aaronholmes.net>
To:        Kyrre Nygard <kyrreny@broadpark.no>
Cc:        questions@freebsd.org, Beech Rintoul <beech@alaskaparadise.com>
Subject:   Re: Sharing /usr/local/www
Message-ID:  <44781984.4080702@aaronholmes.net>
In-Reply-To: <7.0.1.0.2.20060527111043.022bfb40@broadpark.no>
References:  <7.0.1.0.2.20060527102456.022a6fb0@broadpark.no>	<200605270046.04333.beech@alaskaparadise.com> <7.0.1.0.2.20060527111043.022bfb40@broadpark.no>

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



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