Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-01-2005, 12:20 PM   #1
Registered: Jan 2005
Distribution: slackware
Posts: 83

Rep: Reputation: 15
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
Old 03-01-2005, 12:40 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
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.
Old 03-01-2005, 12:57 PM   #3
Registered: May 2004
Location: Virginia USA
Distribution: Debian_Ubuntu_FreeBSD
Posts: 111

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chmod/chown and folders :) chibi Linux - Newbie 2 04-28-2005 04:56 PM
chmod ,chown ,chgrp------------ pal Linux - Newbie 1 02-27-2005 02:49 PM
Arg!! chown /chmod Kanon Linux - Newbie 10 01-16-2005 03:05 PM
reverse chmod/chown changes demmylls Linux - General 1 02-09-2004 12:16 AM
chown & chmod is mess up ziggie216 Linux - General 1 12-23-2003 03:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration