On Fri, 4 Jun 2010, Wallace Roberts Consulting wrote:

The owner/group of your SQL-Ledger directory needs to be the same as that
of the Apache (or whatever webserver you are using) process, except for
the parent one that runs as superuser (root).  For example:

# ps -ef | egrep httpd
root      2275     1  0  2009 ?        00:01:02 /usr/sbin/httpd
apache   31628  2275  0 04:02 ?        00:00:00 /usr/sbin/httpd
apache   31629  2275  0 04:02 ?        00:00:00 /usr/sbin/httpd
apache   31630  2275  0 04:02 ?        00:00:00 /usr/sbin/httpd

  I have the same here:

[r...@salmo]# ps -ef | egrep httpd
root      9146     1  0 09:11 ?        00:00:00 /usr/sbin/httpd -k start
apache    9147  9146  0 09:11 ?        00:00:00 /usr/sbin/httpd -k start
apache    9148  9146  0 09:11 ?        00:00:00 /usr/sbin/httpd -k start
apache    9149  9146  0 09:11 ?        00:00:00 /usr/sbin/httpd -k start
apache    9150  9146  0 09:11 ?        00:00:00 /usr/sbin/httpd -k start
apache    9151  9146  0 09:11 ?        00:00:00 /usr/sbin/httpd -k start
apache    9155  9146  0 09:11 ?        00:00:00 /usr/sbin/httpd -k start

So, in my case, the "apache" user is the one running the webserver, & my
webserver's document directory is /var/www, so I expect the "apache" user
to own it:

# ls -ld /var/www
drwxr-xr-x  9 apache apache 4096 Dec  1  2009 /var/www

It does, as expected.

  Here it's different, but has not changed since March 8th:

[r...@salmo]# ls -ld /var/www
drwxr-xr-x 6 root root 144 Mar  8 12:23 /var/www/

and I've been running SL since then ... including yesterday.

Thanks,

Rich

_______________________________________________
SQL-Ledger mailing list
[email protected]
http://lists.ledger123.com/mailman/listinfo/sql-ledger

Reply via email to