LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Chown & Chmod (https://www.linuxquestions.org/questions/linux-newbie-8/chown-and-chmod-296329/)

swatward 03-01-2005 12:20 PM

Chown & Chmod
 
IM hosting a local server, and everytime i try to visit a webpage on my local server, i get a 403 forbidden, even after I chmod the files. I did a
chmod a+r html
on the folder that stores all the files, could this be a reason that i cannot access any? Thanks

trickykid 03-01-2005 12:40 PM

At minimum the world should have read access.. do an ls -al on your file(s) in question and post it here, or try a:

chmod 644 <filename>

And then see if you can see the files from your webserver in a browser.

redir 03-01-2005 12:57 PM

You may have to chmod -R 'permissions' 'filename' so that all the files in your html directory change recursively


All times are GMT -5. The time now is 06:11 AM.