Koozali.org: home of the SME Server

users web space

dadby

users web space
« on: April 01, 2003, 04:25:04 PM »
can anyoe tell me if creating a user should also create a webspace or them? some thing like http://yourdomain/~user

if not are there any contribs that do this?

Dan Brown

Re: users web space
« Reply #1 on: April 01, 2003, 04:45:10 PM »
No, by default there is no user webspace.  I think there are contribs that handle this, but I've never had the need to mess with it--have you tried searching here?

dadby

Re: users web space
« Reply #2 on: April 01, 2003, 05:38:31 PM »
found the following howto with link to download, does the trick, thanks.

http://nomad.homelinux.net/esmith/library/addons/webspace/web-space-how-to.txtdadby wrote:
>
> can anyoe tell me if creating a user should also create a
> webspace or them? some thing like http://yourdomain/~user
>
> if not are there any contribs that do this?

Jáder Marasca

Re: users web space
« Reply #3 on: April 03, 2003, 04:04:05 PM »
dadby wrote:

> http://nomad.homelinux.net/esmith/library/addons/webspace/web-space-how-to.txt

I also tryed this rpm on SME 5.5u3 but no luck... I got an 403 forbidden error.
I wrote to Damien Curtain to ask some help. If he answer me I´ll let you know.

What error do you get?

Andrej Fercic

Re: users web space
« Reply #4 on: April 04, 2003, 12:19:20 AM »
Read manuals. You are using this addon after you create users. You must change user rights and let WWW read access !!! Read manuals to the end ! Is all there.

Andrej

Jáder Marasca

Re: users web space
« Reply #5 on: April 04, 2003, 02:28:42 PM »
> Read manuals. You are using this addon after you create
> users. You must change user rights and let WWW read access
> !!! Read manuals to the end ! Is all there.

No I just put this addon BEFORE I create my ONLY user to test!
BUT it don´t work.

A few changes (I don´t know WHAT I do!) it´s working...

But the RPM still gives a " post install script error "  or something very close to that!
I don´t think this could be NORMAL!

BTW: I HAVE read the ALL web page.  Including about to put a index file with info on skel!

Thanks by your help anyway!

arthurhanlon

users web space
« Reply #6 on: April 09, 2005, 07:09:18 PM »
Just thought I would revive this post as I too am having  the same issues. I have heard other success stories so that fact of the matter is that I am definately without a doubt doing something wrong or missing something out but, to the best of my knowledge I am following the how to word for word.

Can someone lend a hand please?

Cheers,

Arthur

kirkf

users web space
« Reply #7 on: April 11, 2005, 08:04:58 AM »
I've been using the user web space contrib for a couple of years.  Works fine on a 6.0.1 install with around 50 users.  I modified mine so that every user does not have a public_html directory by default.  I use a small script to manually create that directory and set permissions for select users who need to publish pages.

Have you tried the howto and rpm?

http://no.longer.valid/phpwiki/index.php/Mini%20How%20to%20for%20creating%20user%20web%20space

Kirk

arthurhanlon

users web space
« Reply #8 on: April 11, 2005, 12:39:01 PM »
Kirk,

Cheers for the reply first of all. I have seen that others are using it fine with no problems but have followed the howto to the best of my knowledge and it's still not working, still getting 403. Obviously missing something out somewhere along the line just can't figure out what.

Perhaps you can let me see your script and see how the permissions are actually set?

I am re-installing my server tonight so perhaps I can start again on a stock install.

Cheers again,

Arthur

kirkf

users web space
« Reply #9 on: April 12, 2005, 08:03:12 AM »
Quote from: "arthurhanlon"
Kirk,

Perhaps you can let me see your script and see how the permissions are actually set?



I've been using permissions like these:

Code: [Select]
chmod 755 /home/e-smith/files/users/$1
chown $1 /home/e-smith/files/users/$1/home/public_html
chgrp www /home/e-smith/files/users/$1/home/public_html
chmod g+rxs /home/e-smith/files/users/$1/home/public_html


User's files in their home directory must remain set to disallow access to others than the owner and group, (perhaps 750) and the users must remain both the owner and group of the files.  I think these are the default settings anyway.

Hope this helps a bit.  I remember having similar problems at first as well.

Kirk

arthurhanlon

users web space
« Reply #10 on: April 12, 2005, 10:52:20 PM »
Cool, thanks, I'll give it a try in the next few days and let you know how it goes.

Arthur