Re: user's personal homepage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for this info.

This means that grant "execute" permission to owner, group, world.
For a directory this is being able to list the contents of it.

And since Apache (I believe) only needs to list the contents of /home/user
to access /home/user/public_html, 711 should work fine.

Thanks
Shams

-- 

"François Patte" <francois.patte@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message 
news:45F2C616.3000309@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Shams a écrit :
> Hi,
>
> The reabable and executable bits for the directories that apache
> needs access to, in this case:
>
> chmod a+rx /home/user

Better set the permissions like this:

chmod 711 /home/user

In that case, the /home/user directory is protected from reading by
anybody, but web requests can go through and reach public_html directory

> chmod a+rx /home/user/public_html
>
> Otherwise you will get the 403.
>
> Thanks
> Shams
>


-- 
François Patte
UFR de mathématiques et informatique
Université René Descartes
http://www.math-info.univ-paris5.fr/~patte

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux