newbie: priviledges of public_html?

newbie: priviledges of public_html?

am 23.04.2008 07:08:23 von r_ahimsa_m

Hello,
I have configured Aapche to use UserDirs. I created public_html directory in
~robert folder but I don't know what access rigths I should assign to it.
Please help. Thank you!
/RAM/

Re: newbie: priviledges of public_html?

am 24.04.2008 05:59:20 von spam

"R.A.M." wrote in message
news:fumg99$lh0$1@news2.task.gda.pl...
> Hello,
> I have configured Aapche to use UserDirs. I created public_html directory
in
> ~robert folder but I don't know what access rigths I should assign to it.
> Please help. Thank you!
> /RAM/

The user(s) should have rwx (owner). Apache needs rx (group, or others) to
serve the pages.

For individual files, rw owner and r for apache. I usually assign this
subdirectory for each user to apache's group and use the s bit so that when
users create more subdirectories, apache's group is automatically selected.
In this setup, I set the access for others to none.