Sharing /usr/local/www

Aaron Holmes aaron at aaronholmes.net
Tue May 30 18:28:20 PDT 2006


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at 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.


More information about the freebsd-questions mailing list