LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-01-2005, 01:20 PM   #1
swatward
Member
 
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, 01:40 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
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, 01:57 PM   #3
redir
Member
 
Registered: May 2004
Location: Virginia USA
Distribution: Debian_Ubuntu_FreeBSD
Posts: 110

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


Reply


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 05:56 PM
chmod ,chown ,chgrp------------ pal Linux - Newbie 1 02-27-2005 03:49 PM
Arg!! chown /chmod Kanon Linux - Newbie 10 01-16-2005 04:05 PM
reverse chmod/chown changes demmylls Linux - General 1 02-09-2004 01:16 AM
chown & chmod is mess up ziggie216 Linux - General 1 12-23-2003 04:43 PM


All times are GMT -5. The time now is 05:56 PM.

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