Re: Permissions

[email protected] (David Robley)
Newsgroups php.general
Message-ID <[email protected]>
Ethan Rosenberg wrote:

> Dear List -
> 
> Tried to run the program, that we have been discussing, and received a
> 403 error.
> 
> rosenberg:/var/www# ls -la StoreInventory.php
> -rwxrwxrw- 1 ethan ethan 4188 Aug 26 20:26 StoreInventory.php
> 
> rosenberg:/var# ls -ld www
> drwxrwxrw- 37 ethan ethan 20480 Aug 26 20:26 www
> 
> I had set the S bit [probably a nasty mistake] and I thought I was able
> to remove the bit. [it doesn't show above]
> 
> How do I extricate myself from the hole into which I have planted myself?
> 
> TIA
> 
> Ethan

This is in no way a php question, as the same result will happen no matter 
what you ask apache to serve from that directory.

You have the directory permissions set to 776 not 777.
-- 
Cheers
David Robley

Steal this tagline and I'll tie-dye your cat!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.