permission

Mad Unix madunix at gmail.com
Thu Jul 28 05:37:15 UTC 2005


I am running webmail on my server under the directory /var/www/html/webmail
i have put the complete directory under the owner permission of apache
(httpd running as apache) is that correct and what about the
permission as rwx for the complete directory... can any one point me
pls?

/var/www/html
[root at mail html]# cd webmail/
[root at mail webmail]# ls -al
total 204
drwxr-xr-x   18 apache   apache       4096 Jul 26 13:32 .
drwxr-xr-x    6 root     root         4096 Jul 28 08:29 ..
-rw-r--r--    1 apache   apache       7987 Jun  7 18:41 AUTHORS
-rw-r--r--    1 apache   apache      68794 Jul 20 13:07 ChangeLog
drwxr-xr-x    7 apache   apache       4096 Jul 22 20:20 class
drwxr-xr-x    2 apache   apache       4096 Jul 26 13:14 config
-rwxr-xr-x    1 apache   apache         92 Dec 26  2001 configure
drwxr-xr-x    3 apache   apache       4096 Jul 22 20:20 contrib
-rw-r--r--    1 apache   apache      15228 Jun 16 03:22 COPYING
drwxr-xr-x    2 apache   apache       4096 Jul 27 13:58 data
drwxr-xr-x    4 apache   apache       4096 Jul 22 20:20 doc
drwxr-xr-x    5 apache   apache       4096 Jul 22 20:20 functions
drwxr-xr-x   29 apache   apache       4096 Jul 26 13:34 help
drwxr-xr-x    3 apache   apache       4096 Jul 26 13:34 images
drwxr-xr-x    4 apache   apache       4096 Jul 27 08:03 include
-rw-r--r--    1 apache   apache        660 Feb 11 22:51 index.php
-rw-r--r--    1 apache   apache       9296 Jun  4 18:54 INSTALL
drwxr-xr-x   50 apache   apache       4096 Jul 26 13:34 locale
drwxr-xr-x   24 apache   apache       4096 Jul 27 14:13 plugins
drwxr-xr-x    2 apache   apache       4096 Jul 22 20:23 po
-rw-r--r--    1 apache   apache       2637 Jun 27  2004 README
-rw-r--r--    1 apache   apache       2144 Feb  2  2004 ReleaseNotes
drwxr-xr-x    9 apache   apache       4096 Jul 22 20:28 squirrelmail.locales
drwxr-xr-x    2 apache   apache       4096 Jul 22 20:23 src
drwxr-xr-x    3 apache   apache       4096 Jul 22 20:23 templates
drwxr-xr-x    3 apache   apache       4096 Jul 22 20:23 themes
-rw-r--r--    1 apache   apache       4782 May 30 13:03 UPGRADE




More information about the redhat-list mailing list