Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Patrick on July 25, 2002, 12:23:32 AM
-
Hi guys,
I was wondering how to setup access right to just the html folder on the SME primary without having to give someone the admin password. I want to give the webmaster the ability to update the website without giving him rights to things he doesn't need.
Thanks,
-
I think you could change the chown and chmod of the html folder...
1) Using the server manager, create a group named webmasters for example:
2) Go on the shell and type:
chown /home/e-smith/files/primary/html admin.webmasters -R
chmod /home/e-smith/files/primary/html 0775 -R
The first line means that folder html will be owned by user admin and group webmasters.
And the second one means that:
- User has Read/Write/Execute Permissions
- Group has the same ones
- Everyone else has Read/Execute Permissions
-
Thanks for this post, it will be helpful. Will this allow access to the "html" folder using ftp or DreamWeaver to publish on an ibay virtual domain site from the internet? If so, publish to what address?.....the virtual domain name, or the SMEexternal-IP/folder ??
I do not know how to view the 'html' folder of an ibay using ftp from the internet. Using ibay@mydomain.com will allow a user to ftp read (not write) the 'files' directory in ibay not the 'html' folder?
Do webmasters on the internet have to use pptp vpn to publish from the local lan?
Any help is appreciated, as this would reduce my workload considerably.
Thanks in advance for any advice.
Ryan
-
Aurelien,
I tried your advice. After I enter chown /home/e-smith/files/primary/html admin.webmasters -R at the prompt, I get an invalid user error.
Any other Advice?
-
> 2) Go on the shell and type:
> chown /home/e-smith/files/primary/html admin.webmasters -R
> chmod /home/e-smith/files/primary/html 0775 -R
shouldn't that be
chown -R admin.webmasters /home/e-smith/files/primary/html
chmod -R 0775 /home/e-smith/files/primary/html
?
But anyway, I wanted to mention that ftp write access to the primary web site from the wan is probably a Bad Idea.
You would be better off enabling public ssh (i.e. from the wan) that would then allow your webmaster to use SCP - or better yet RSYNC to upload changes to the public website.
G
-
thanks Guck Puppy, that worked....
The webmaster is only allowed to access the server from the LAN at this point. So I'm not worried until then.
Thanks again
-
Hello,
Who is the member of this webmaster group?
Admin?
Or some user which is created especially for that task?
Br
Damjan