Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: jimy.ng on June 12, 2007, 11:31:28 PM
-
Hi Everyone,
I'm very new to SME Server and so far I'm loving this. I search a lot for solutions in this forum, and here is one I can't seems to find a solution for. I have setup webspace for users everything went smooth. The only catch is that I couldn't figure out file permission. When I create a user in server-manager it automatically create a user webspace for them. They can upload and delete files but they cannot change permission on those files. I tried chmod some files and it gives me Access Denied. The root folder for the users had a chmod of 777 but I cannot chmod any files underneath it. Could this be a configuration in PROFTPD? Does anyone got any ideas? Thank you much!
-
When I create a user in server-manager it automatically create a user webspace for them.
Not exactly. The user gets a folder but the folder doesn't get published on the web.
Well unless you used an apropriate contrib.
-
Can you show me how to set the rigth contrib?
-
Use this
wget http://www.pialasse.com/RPMS/smeserver-user-webspace-0.1-5.SME7.noarch.rpm
yum install smeserver-user-webspace-0.1-5.SME7.noarch.rpm
rm smeserver-user-webspace-0.1-5.SME7.noarch.rpm
signal-event post-upgrade
signal-event reboot
If you want to disable user webspace:
/sbin/e-smith/config set UserPublicWeb off
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
service httpd restart
I have tested this on 7.0 so i don't know how it'll work on 7.1.3 but i think that it will work.
http://www.yourdomain/username will hold their websites.
Another option is to make an ibay and use remoteuseraccess contrib to forward the users from their home folder to the ibay.
I personaly like the last option.