HELP ! Simple guide to file and directory permissions

This is a discussion on HELP ! Simple guide to file and directory permissions within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi all, I am new to web services and Linux but would like to learn... Is there a site that ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-21-2004
Phil
 
Posts: n/a
Default HELP ! Simple guide to file and directory permissions

Hi all,

I am new to web services and Linux but would like to learn...

Is there a site that explains, in simple terms the correct method to secure
a web site. I have a basic site running, however I get in a real mess when
trying to install additional folders or services. Invariably I get an error
indicating that access is denied for a particular directory.

My basic configuration is this:

Document root on a separate volume /www
Apache running as user and group 'apache', I set my directories below www to
2664, with ownership of apache.webuser. The user who is ftp'ing files is a
member of the group webuser.

Can someone please offer guidance as to the correct for my site. I have
tried to install phpbb and mambo dynamic php based directories, but get the
404 error when trying to connect. I know its permissions related, but get
stuck trying to implement them correctly.

Thanks in advance,

Phil



  #2 (permalink)  
Old 04-21-2004
Davide Bianchi
 
Posts: n/a
Default Re: HELP ! Simple guide to file and directory permissions

Phil <phil.g4iio@ntlworld.com> wrote:
> Apache running as user and group 'apache', I set my directories below www to
> 2664, with ownership of apache.webuser.


Directories must be 755 (read and execute by everyone).
Files must be 644 (read by everyone)

Davide

--
| Reality is bad enough, why should I tell the truth?
|
|
|
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0