|
|
#1 (permalink) |
|
Destroyer of Evil Robots
Excelling Contributor
Joined in Oct 2003
Lives in Atlanta, GA
760 posts
Gave thanks: 17
Thanked 9 times
|
files and directories owned by the nobody account
I've seen a couple of differnent installations of some packages from Fantastico which will create files and directories owned by the nobody account.
This is one example, I installed drupal and the $DRUPAL/files/pictures directory is owned by nobody and permissions are set to 700. This creates a problem; I uninstalled drupal and it left behind those directories and I am unable to delete them. I have written support to assist me in getting rid of the no longer needed files/directories. However, I was curious is that ownership/permissions set absolutely necessary? Perhaps at the install, the directory ownership should be set to the account holder and make those permissions 1777 instead? Or maybe there should be a tool somewhere we can run to reset those permissions so we can remove the files as needed. Clair |
|
|
|
|
|
#3 (permalink) |
|
Destroyer of Evil Robots
Excelling Contributor
Joined in Oct 2003
Lives in Atlanta, GA
760 posts
Gave thanks: 17
Thanked 9 times
|
Thanks, that worked like a charm. I have no idea if there were any files in the directory. Will that work if the directory's not empty?
Clair |
|
|
|
|
|
#4 (permalink) |
|
Surpass Fan
Super #1
Joined in Aug 2004
Hosted on SH58
1,688 posts
Gave thanks: 6
Thanked 7 times
|
PHP Code:
__________________
- Evan Charlton | [site] | Server - SH58 |
|
|
|
|
|
#5 (permalink) |
|
Destroyer of Evil Robots
Excelling Contributor
Joined in Oct 2003
Lives in Atlanta, GA
760 posts
Gave thanks: 17
Thanked 9 times
|
Great! Thanks!
Now, I hate to be a totally dummy ( I know less than nothing about php. ), but where do I feed this script the directory name to be removed? Clair |
|
|
|