Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Jim P BeVard on April 09, 2003, 01:04:51 PM
-
I Have installed e-smith-user-webspace-0.1-3.noarch.rpm, works good, but one problem...
When a user uploads their web page, the permissions aren't set correctly.
I was wondering if there is an automatic way to set all files in the public_html folder as 755. I don’t want to give users access to the shell to do this their self.
Thank you for any suggestions.
~Jim
-
Surely if you set the access permissions for the "template" user that its copied from when a new user is created that will set the permissions correctly. Or is this problem for users you had on the system before you installed the webspace rpm?
-
I’ve had the problem with both. The directories have the correct permissions set, but when they upload the files they aren’t accessible to the public. I guess what I’m asking is, is there a way to make the permissions recursive, even for files uploaded via ftp?
or
is it secure to give users shell access, and create a .bash_profile to set the permissions on the file, and include a logout command in the .bash_profile. I could just have them use that everytime they load new pages...
I'm open to any other suggestions...
Thanks, Jim
-
just tried this for myself for the first time since I installed the software - havent told the users about it yet. Seems I have the same permissions problem as you have encountered. Will investigate further and see if I can find a solution.