Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Permissions on local Apache web testing environment



TLUG,

So, last week, my computer exploded. The CPU and or motherboard died,
leaving me with no choice but to pretty much rebuild my computer.

Which I did. Fortunately, unlike other times in the past, I had a
complete and full backup of everything. It is sooooo much less stressful
when you have complete backups.

Anyway, the thing is, even though I have all the files, now that I have
placed all my web sites back into their usual spots and set up my
httpd.conf and hosts files as they were, my sites are behaving very strange.

It seems that the permissions might not have carried over properly,
because the errors I am getting say things like:
"failed to open stream: Permission denied..."

So I tried to find out what the permissions should be, and modify all
the files, and tried these commands:

sudo find /local/location/of/web/sites/ -type f -exec chmod 0664 {} \;
sudo find /local/location/of/web/sites/ -type d -exec chmod 0755 {} \;

But I'm still seeing "Permission denied" errors.

So todays questions are:

What should the permissions on my files and folders be for the local
Apache server to use them?

Do I need to set ownership or something?

What am I missing here?

Any advice much appreciated.

-- 
Dave M G
http://tlug.jp/mediawiki/index.php?title=User:Dave_M_G


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links