Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
[PAYH] Getting rid of files / folders
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: [PAYH] Getting rid of files / folders
[PAYH] Getting rid of files / folders
29-12-2008 7:10 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Does anyone know of or have a script that can be used to get rid of OLD unused files and folders owned by 'www-data'. or will at least change the ownership of them so that they can be deleted manually.
Message 1 of 4
(1,105 Views)
3 REPLIES 3
Re: [PAYH] Getting rid of files / folders
29-12-2008 8:48 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If you just want to delete them, you can use your FTP client.
Edit: If you have www-data owned files actually inside www-data owned folders, you could use something like webadmin.php (available from various places on the net) to change the folder permissions to 777. (The script opens a door to your whole file system, so you may want to remove it after use.)
Gabe
Edit: If you have www-data owned files actually inside www-data owned folders, you could use something like webadmin.php (available from various places on the net) to change the folder permissions to 777. (The script opens a door to your whole file system, so you may want to remove it after use.)
Gabe
Message 2 of 4
(391 Views)
Re: [PAYH] Getting rid of files / folders
30-12-2008 1:50 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks. Got rid of a lot but this method doesnt work on sub folders and files within sub folders.
Message 3 of 4
(391 Views)
Re: [PAYH] Getting rid of files / folders
30-12-2008 10:06 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Aha. Try using webadmin to upload another (renamed) copy of itself. That will get the script owned by www-data. It won't be able to see the folder it's in, but if you point it at a www-data owned folder it will be able to delete or chmod anything owned by www-data.
Gabe
Gabe
Message 4 of 4
(391 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: [PAYH] Getting rid of files / folders