Copy of webdav share can not be deleted

Copy of webdav share can not be deleted

Posted by: enfocus
Posted on: 2008-03-17 10:43:00

A copy of my webdav share is made when backups are triggered by software updates. (ie. when I do a wordpress update, domain.com is copied to domain.com.old) Since the copy retains all the original permissions and ownership, I can not modify/delete the copied folder. Is there a way remove the copy of the webdav share from the shell somehow? Or do I need to talk to Dreamhost tech support?

Re: Copy of webdav share can not be deleted

Posted by: patricktan
Posted on: 2008-03-17 18:27:00

hmm... what is the file permission on the copied folder?

Re: Copy of webdav share can not be deleted

Posted by: enfocus
Posted on: 2008-03-17 19:15:00

here's an ls of the webdav share

drwxr-xr-x 4 dhapache dhapache 4096 2007-08-24 11:53 webdav

ls of inside webdav

drwxr-xr-x 4 dhapache dhapache 4096 2007-08-24 11:53 .
drwxr-x--- 2 dhapache dhapache 4096 2006-01-17 21:15 .DAV
-rw-r----- 1 dhapache dhapache 6148 2006-01-17 22:00 .DS_Store
-r-------- 1 dhapache dhapache 424 2007-08-24 11:53 .htaccess
-r--r----- 1 dhapache dhapache 40 2007-08-24 11:53 .htpasswd
drwxr-x--- 4 dhapache dhapache 4096 2006-01-17 21:43 subfolderofwebdav

thanks



Re: Copy of webdav share can not be deleted

Posted by: rlparker
Posted on: 2008-03-17 19:17:00

Well there ya have it ... dhapache owns everything, and no one else has write privs. This mean you will need DH tech support to do the deletions (or write a PHP script and run it under mod_php to delete the stuff yourself).

--rlparker

Tags: software updatestech supportshell