Re: [PHP] `ls -l /` does not reproduce same info than when executed in bash. - SOLVED

2005-03-11 Thread Hans Deragon
otably NFS mounted shares. Thanks to all who attempted to help me solve this problem. Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.bizhttp://facil.qc.ca (Promotion du libre) mailto://[EMAIL PROTECTED

Re: [PHP] `ls -l /` does not reproduce same info than when executed in bash.

2005-03-10 Thread Hans Deragon
PHP `ls --color=never -ld /` and it fails to. ls is not the only command having problems. I tried other commands like `find /lmw -name '*'` and `cd /lmw` and they fail because of bad permissions. Could it be because of SELinux? I wonder. I think that Apache runs under some SEL

Re: [PHP] `ls -l /` does not reproduce same info than when executed in bash.

2005-03-10 Thread Hans Deragon
that the other functions would change anything. `whoami` executed under php returns "apache", as we suspected. Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.bizhttp://facil.qc.ca (Promotion

Re: [PHP] `ls -l /` does not reproduce same info than when executed in bash.

2005-03-10 Thread Hans Deragon
my email to the list. I had a problem with my mailer... Best regards. Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.bizhttp://facil.qc.ca (Promotion du libre) mailto://[EMAIL PROTECTED] http://autopower

[PHP] `ls -l /` does not reproduce same info than when executed in bash.

2005-03-10 Thread Hans Deragon
16:06 tmp ?-? ?? ?? users drwxr-xr-x 14 lmwadmin root4096 mar 3 07:25 usr ?-----? ?? ?? var Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: h

[PHP] `ls -l /` does not reproduce same info than when executed in bash.

2005-03-10 Thread Hans Deragon
16:06 tmp ?-? ?? ?? users drwxr-xr-x 14 lmwadmin root4096 mar 3 07:25 usr ?-----? ?? ?? var Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: h