I have a few directories I'd like to delete... Using my FTP Surfer Client i try to delete them, and it says permission denied. In Cpanel. I click delete and nothing happens... If I try to MOVE the directory in Cpanel, it says "directory does not exist", but I STILL see the darn directories in my FTP client AND on Cpanel!
What can I do?
10:32 pm on Mar 17, 2006 (gmt 0)
Have you deleted all the files in those directories first?
10:43 pm on Mar 17, 2006 (gmt 0)
Nope.. usually I just delete thru my FTP client or Cpanel, and it also dumps the files.. I looked in the folders and they're empty
10:44 pm on Mar 17, 2006 (gmt 0)
Check the ownership on the folders. Sometimes, scripts create folders/files but don't give correct account ownership. Your host should be able to delete them.
10:45 pm on Mar 17, 2006 (gmt 0)
F5 and/or Refresh the page.
Log out and log back in.
On Windows? Reboot and log back in.
Those would be the first three things I'd do.
10:48 pm on Mar 17, 2006 (gmt 0)
how do I check ownership of the folders? and then how would I get rid of them?
10:57 pm on Mar 17, 2006 (gmt 0)
View the properties of the folder (right click > Properties maybe?) and it should list the Owner and Group. If the Group is not your hosting account username, then it is not owned by your hosting account, therefore, the server cannot give you permission to delete it.
You'll probably need to contact your host to have them delete the folder(s). They have root (Super User) access.
11:23 pm on Mar 17, 2006 (gmt 0)
You might have a hidden file like a .htaccess file that is in there that it won't let you delete.
11:27 pm on Mar 17, 2006 (gmt 0)
Have you checked for hidden files i.e. .htaccess or .htpasswd? Your FTP client should have an option to show hidden files.
12:02 am on Mar 18, 2006 (gmt 0)
At my office we make it so you can't delete your own folders because too many times it is dne by accident and then it is a big nightmare to get the backups live. We do this to protect our less savy clients from themselves.
Contact the server administrator and tell him what you want to do.