Claudio Carobolante wrote:
> Claudio Carobolante schrieb:
>
>>Richard Ragon wrote:
>
>
> [...]
>
>>>/home/some_user/public_html/ is the directory and the permissions are
>>>correct, however, the root directory (/home/<user>) each has there own
>>>access. removing this access will compromise the users data will it
>>>not?
>>> How do I give the webserver access without setting these users
>>>directories to world read? [...]
>>
>>http://httpd.apache.org/docs-2.0/mod/mod_access.html#allow
>
> [...]
>
> Sorry, I'am wrong. You can move the webspace to another location or give
> apache access to this folder (group-rights). I think, to give apache
> root-rights is'nt a good idea (but possible).
Why would you want to move the webspace to another location? Wouldn't
you want to give your users a "home" where they can put folders, files,
and webthings? Wouldn't this cause your users to go wondering all over
your root file system looking for the right folder? Personally, I don't
want them to leave their home directories.
I was also thinking of the apache access also. What's better?
1) Giving the apache account a second group of something like "webserv",
and then giving a group access to the '/home/' directory of "webserver"?
or..
2) Just giving group rights to the folder '/home/' of "apache"?
Thanks<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: questions about setting up users access