Re: Permissions
From: Laurenz Albe (albe_at_culturallNOSPAM.com)
Date: 12/15/04
- Next message: mjt: "Re: Permissions"
- Previous message: Enzo's Dad: "Permissions"
- In reply to: Enzo's Dad: "Permissions"
- Next in thread: mjt: "Re: Permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 15 Dec 2004 19:43:26 +0000 (UTC)
Enzo's Dad <~DerekNutile@hotmail.com> wrote:
> 1) I don't understand file/directory permissions on Linux well. I'm slowly
> trying to cut the Microsoft chord...
Read the man pages, start with chmod.
Search the web.
> 2) Specifically, I am having an issue with permissions when I setup an
> alias directory in Apache. I created a directory (/var/www/wp, a simple
> index page within that directory, created the alias in Apache, and when I
> attempt to view the html file (http://localhost/wp) I get a 403 Forbidden
> error. I don't have permissions to access /wp on this server. I've
> attemtped to CHMOD this directory every which way to no avail. I'm certain
> this is a simple issue.
It could be a) a file permission problem, as you assume, or b) you have
Apache configured so that it forbids you access to the file.
Assuming that you run httpd as nobody, you can find out if it is a
permission problem:
- login as root
- execute 'su - nobody' to become nobody.
- try to read the file, e.g. with 'cat /var/www/wp/<name of file>'
If that gives you an error, you do not have the necessary permissions.
If that works fine, you probably have a problem in your Apache
configuration.
- Do other pages work well?
- Maybe turn on debugging and see access.log and error.log for
messages.
Yours,
Laurenz Albe
- Next message: mjt: "Re: Permissions"
- Previous message: Enzo's Dad: "Permissions"
- In reply to: Enzo's Dad: "Permissions"
- Next in thread: mjt: "Re: Permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|