Ave,

Apache to the best of my knowledge runs as "nobody" by default and since I
didn't change any settings, it is probably running as "nobody".

This is what I got with ls -al

rahul:/Library/WebServer/Documents/informed-sources.com/imsafm bob$ ls -al
total 16
drwxrwxrwx    5 nobody  nobody    170 24 Aug 13:55 .
drwxrwxrwx  102 bob     unknown  3468 24 Aug 11:23 ..
-rw-rw-rw-    1 bob     unknown  6148 24 Aug 13:57 .DS_Store
drwxr-xr-x    3 www     www       102 24 Aug 11:05 bobkasper
drwxr-xr-x    3 www     www       102 24 Aug 11:09 rjohari


Now you see the last 2 folders... "bobkasper" and "rjohari". These are 2
users created by the admin. If I delete a user, their corresponding folder
should be deleted as well, which is what I am trying to achieve. But if,
let's say, I delete the user "rjohari"... The folder still remains.

Thanks for helping...




On 8/24/04 1:49 PM, "John Nichel" <[EMAIL PROTECTED]> wrote:

> PHP Junkie wrote:
>> Ave,
>> 
>> Nope... Didn't work. Didn't return an error or anything, didn't delete the
>> folders either!
> 
> If you cannot delete via the php functions or via system calls, then you
> have a permission problem.
> 
> What user/group is Apache running as?
> 
> What is the output of 'ls -al' for the files you're looking to delete?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to