Re: Permissions
| From: | David Robley | Date: | Tue, 27 Aug 2013 06:46:18 +0000 |
| Subject: | Re: Permissions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321985@lists.php.net to get a copy of this message | ||
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!