LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 12: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, 12:40 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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
redir
Member
 
Registered: May 2004
Location: Virginia USA
Distribution: Debian_Ubuntu_FreeBSD
Posts: 122

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration