On Mon, 2002-04-22 at 20:27, Rikard DustPuppy Johnels wrote:
On Monday 22 April 2002 19:18, Pep Serrano wrote:
Hello list,
When a new user is created by yast2, the home folder has the following access rights:
drwx------ 7 dan users 888 Apr 19 22:31 dan/
Which stops apache from being able to access ~/public_html...
Is there any way to modify the default umask to create the users home folders?
Thanks Pep Serrano. Or most pointedly.. How do one get apache to see the homedirs anyway... I have several users, and i DONT want them to be able to browse other ppls homes....
--
/Rikard
Its controlled by a statement in the apache configuration files called "UserDir" in /etc/httpd In Suse8 there is a setting in /etc/sysconfig/apache: HTTPD_SEC_PUBLIC_HTML=yes if you set this to no, and rerun /sbin/SuSEconfig then it'll remove the setting, though you'll need to restart apache probably. Remember though, this only applies to accessing the directory public_html via a web browser pointing at http://localhost/~username/ with apache running in each users home directory, not their entire home directory. Ewan