> drwxr-xr-x 3 www www 102 24 Aug 11:09 rjohariAve,
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
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...
If Apache is running as nobody/nobody, it does not have permission to delete these directories. The only users who can delete these directories are the respective users, and root. You need to have write permission to delete...
drwxr-xr-x 3 www www 102 24 Aug 11:09 rjohari
In the above, the 'd' means directory, the next three letter are the user's permissions (full, read/write/execute), next three characters (r-x) are the group's permissions (read/execute), and the last three are other's (world) permission (read/execute). The two 'www' are the owner (user) and group. For the directory rjohari, only root and the user www can delete and/or write to this directory.
-- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php