>
> as someone else said, directories need 'execute' privilege (which really
> means permission to list the dir).
Not quite... +r allows listing of the directory and +x allows
traversing (cd) into/through the directory.
James
___
CentOS mailing list
Cen
On 02/28/11 7:51 AM, Yang Yang wrote:
> hi,every
>
> i have a php project and use centos to go
>
> and how to make folder's privilage and make it saft
>
> like: /home/htdocs/test
>
> chown -R www:www /home/htdocs/test
>
bad idea, the webserver should NOT own or have write access to web files.
>
On 1/03/2011, at 4:51 AM, Yang Yang wrote:
> hi,every
>
> i have a php project and use centos to go
>
> and how to make folder's privilage and make it saft
>
> like: /home/htdocs/test
>
> chown -R www:www /home/htdocs/test
>
> chmod -R 644 /home/htdocs/test
Almost correct, but directories a
hi,every
i have a php project and use centos to go
and how to make folder's privilage and make it saft
like: /home/htdocs/test
chown -R www:www /home/htdocs/test
chmod -R 644 /home/htdocs/test
etc
thanks very much
___
CentOS mailing list
CentOS@ce
4 matches
Mail list logo