You are here: Re: Permissions « PHP Programming Language « IT news, forums, messages
Re: Permissions

Posted by Gordon Burditt on 03/06/06 05:21

>> What error messages do you get when you violate this?
>
>**********************
>Internal Server Error
>The server encountered an internal error or misconfiguration and was
>unable to complete your request.
>
>Please contact the server administrator,
>webmaster@sgimis.it-resources.com and inform them of the time the error
>occurred, and anything you might have done that may have caused the error.
>
>More information about this error may be available in the server error log.
>
>Additionally, a 404 Not Found error was encountered while trying to use
>an ErrorDocument to handle the request.
>
>************************
>
> > How do you know some scripts require mode 755?
>
>Because when I chmod the file to 755, it runs OK. So, I thought about
>your question some more, and I chmoded the files to 644 and they ran OK,
>too.
>
>It turns out they were uploaded at 664. (Even though the chmod dialog
>indicated they were 644). Now, why 644 works and 664 doesn't only
>deepens the mystery for me.

Apache does not like running files that have excessive (more than
by the owner) write permission. It also doesn't like files that
are in directories with excessive write permission. suexec gets
even pickier. It's a security issue.

Gordon L. Burditt

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация