Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Walter Padgett on September 26, 2003, 05:52:07 PM
-
Good Morning,
I'm having a slight problem with having access to users' webpages / public_html folder. I followed the instructions in this thread: http://forums.contribs.org/index.php?topic=5501.msg19392#msg19392 and it touches on what I'm bringing up.
After installing the contrib referred to in the above mentioned thread, I thought that any file that was saved in the public_html folder would be viewable by anyone on the web/intranet. This is not the case and I was wondering what I needed to do so that it is transparent to the users? I don't want them to have to go to the linux shell and do a chmod on every file they put in there but rather any file that would be saved would be public. This server is a PDC for the lab in question so the students are creating the files on their Windows XP Pro boxes and saving there.
A penny for your thoughts,
Wally
-
how do they store the files? samba? ssh? ftp?
in samba there is an option for the file-permission on new files.
with ssh or ftp there should be no problem.
cheers klaus
-
Walter...
I set up an e-smith server as the file server for the students at our school. When they log in, they have mapped a public_html, a private, and a .recycle share. Webdir is set up on the server, and it serves up a bunch of web pages. No one has to chmod anything, but you have to change the stock samba settings. The permissions in the private folder keep contents private. Do a search for the .recycle. It cuts down on the requests to rescue deleted files from archive, but it places a burden on them to dump the .recycle. Simply deleting files from private doesn't change quota problems!
I wrote some documentation for the folks who are administering this server now, and here is a link to the samba page.
http://mirror.contribs.org/smeserver/contribs/thaynes/beta/howto/samba/
The kids work on web pages with FrontPage from the mapped share. It works quite well.
Regards... Tom
-
:hammer:
Good morning,
Thanks Tom for your response. It's been awhile and I haven't revisited this issue since last year. I am gearing up for next school year and I am looking at making a mondoarchive'd image for our department.
I've got SME 6.x installed here in my office to mess around with. I installed the above mentioned rpm's and am still having some difficulty. I have also read the information on your webpage as well. When looking at the file permissions, if I don't set the skel/public_html/index.html to 755, I can't see it from the browser. I do this but when I upload new files, I can't read those from the browser. I thought that the permissions on the folder "descended" for lack of a better term, onto the files that were created or placed in that folder. The permissions on the folder are correct but any new file I place in there outside of index.html, I can't read them. Do I have to constantly change the permissions of the files uploaded or is there some way to make it to where any file(s) placed in the public_html folder is 755 and readable?
A penny for your thoughts,
Wally