Web Hosting Talk







View Full Version : Unable to delete files


Shooter
10-24-2000, 06:26 PM
I have been unable to delete some _vti_ directories that [I think} FrontPage installed (_vti_cnf, _vti_pvt, etc.), either using FTP or using Telnet. I can't see any files in the dir, yet Telnet and FTP are both telling me that the directories aren't empty. I've tried rmdir and the directory name, but it won't go. Same thing with FTP. HOW can I get rid of these directories? (I think it may be part of why my Plesk-enabled password-protected directories won't accept any of the login/password combinations I created earlier... I thought I might have an old .htaccess file in there that was conflicting, but I can't see anything via FTP or telnet...

Wm

BenS
10-24-2000, 06:31 PM
Ahh, the wonderful world of FrontPage.

Often FP sets up directories with the wrong user permissions. You probably will not be able to delete those directories untill you either delete them as root user or change the ownership of them to you.

Shooter
10-24-2000, 06:34 PM
I actually did a chown to the FTP login name, and when I tried to delete them via FTP I was loggin in under that user/pass. I then tried to telnet in to the root acct and rmdir, but had the same problem. If I can change the attributes via FTP, would setting them to 777 (or anything else) allow me to delete them?

Wm

Matt Lightner
10-24-2000, 06:37 PM
Try an "rm -rf _vti*" in that directory.

Be careful with rm -rf though... it doesn't know or care if you make a mistake. The files are simply gone. :)

Matt
mlightner@site5.com

BenS
10-24-2000, 06:50 PM
I agree with Matt.
A rm -r directory_name could do the trick for you.

Give that a shot and see what happens.

Félix C.Courtemanche
10-24-2000, 09:25 PM
Consider the following...
Usually, FPX sets the owernas 'nobody' on its directories, I have no clues why, (well I know why... it was too secure, so they had to share all the same owner to make sure it is exploitable) anyway, you might have to su to root to remove these files if you try to do it from 'admin' or the owner of the account. Also, as pointed before, a rm -R dirname will do the trick once you are as root.

bob35
10-24-2000, 09:45 PM
Try removing FP Extensions first then delete files and redo FP Extensions

Shooter
10-24-2000, 09:55 PM
This did the trick! THANX all!
Now I've just gotta figure out why my password-protected directory is still not allowing me in... :-/

Wm