[Wylug-help] configuring LAMP

Chris Davies MBCS chris.davies at bcs.org.uk
Tue Nov 5 16:24:32 UTC 2013


On 04/11/13 11:51, nigel wrote:
> drwxrw-rw- 40 nigel nigel 4096 Nov  4 10:59 /home/nigel
> drwxrw-rw- 28 nigel nigel 4096 Oct 28 08:22 /home/nigel/Documents
> drwxrw-rw- 12 nigel nigel 4096 Jun 24 21:03 /home/nigel/Documents/local


There's the problem. You've got directories that do not give permission 
for Apache to access (through) them. For a directory to be searchable 
(accessible) it much have "execute" permission. You do not need to give 
Apache (or probably any other account) write access to these 
directories, though.

You can fix it with this command:
sudo chmod ug=rwx,o=rx /home /home/nigel /home/nigel/Documents 
/home/nigel/Documents/local

Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3756 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.lug.org.uk/pipermail/wylug-help/attachments/20131105/42b6cc85/attachment.bin>


More information about the Wylug-help mailing list