Permissions/Apache Question
Chris F.A. Johnson
chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org
Sat Apr 2 00:42:07 UTC 2011
On Fri, 1 Apr 2011, Stephen wrote:
> I am creating a new web site, and I ftp'ed the index.php file to the host.
>
> I got a 500 internal server error.
>
> It turns out that the problem was that the permissions on the file had the
> execution bits set for owner, group and all.
>
> When I turned the bits off, all was well.
>
> Can someone explain why the settings would matter? Is this a general Linux
> thing, or strictly an Apache thing?
Exexutable files must be writable only by their owner and usually
should have all the execute bits set.
--
Chris F.A. Johnson, <http://cfajohnson.com/>
Author:
Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list