Thanks for paying attention to my post. It is my first posting here and please apologize already in advance if this
is the wrong forum to ask for help.
I installed Drupal 6.1 into my shared godaddy hosting account for testing. The installation did not go that smooth,
so I decided to delete the whole folder containing Drupal 6.1.
Nearly all got deleted, except a subfolder called sites with a default folder containing default.settings.php and setting.php. Also, there is
still this files folder present. Deleting the site folder or attempting to delete any files/folders results in "550 Could not delete default.settings.php: Permission denied " message.
I mean, it is not something which will threaten my life, but it irritates me on a grand scale why these unused folders and files are not deletable.
Googled all up with no solution. BTW, I used Core FTP Pro for uploading. Probably won't make any difference, but if it helps, so it be.
Would love to hear your comments and possible solutions regarding this problem.
Thanks already in advance for your help and looking forward to receive some replies to my post.
Regards,
Rich
Comments
I had same problem - found
I had same problem - found out it's caused by sites/default directory not being writeable. Just set writeable permissions on the directory, then you should be able to delete the files within.
Thank you for the answer. I
Thank you for the answer. I was chmoding the files.
If you do a chmod -R 777 then you can wrx everything in that dir, files and all.
Ah, thanks! I got worried
Ah, thanks!
I got worried there for a moment when this happened to me.
Thought I dorked something up.
Thanks
This helped me too!
-----------------------------------------------
The Future is Open!
thanks that helped me, forgot
thanks that helped me, forgot permisions inherited from parrent folder
Excellent
Thanks this one helped me too..
This didn't help me :( Notice
This didn't help me :(
Notice how those two files are missing the d on the permissions letters after I tried chmod 7777, and 777 as well, neither helped.
Thoughts?
Thanks
Thanks
thanks
It worked for me
Thank you
I still forget about this. It worked for me too.
So simple...
It's THAT simple :) Thank you, I was looking for this. Drupal is just too strange for me. I really tried, but I can't get the hang of it so I wanted to remove it all and the same folder got stuck upon deleting all files. Thank you for this simple solution!
-= JMstudio.nl Web Development =-
omg-so simple...
thanks!
Same problem here
I was trying to upgrade my drupal and decided to delete all the files. Everything deleted except 'sites > default > files' and it won't let me CHMOD to 777 or anything.
'550 SITE CHMOD command failed.'
or when I try to delete...
'550 Delete operation failed.'
Any ideas?
Fixed
This other posting helped...http://drupal.org/node/231401
I don't understand how a php script has more power than a command line delete or FTP, but it worked. I modified the one instance of foldername to be the folder I want to delete, then saved as a .php file just outside of that folder, than went to that URL to activate the script. Then I could delete via FTP.
Good code.i has the problem
Good code.
I had the problem of deleting by FTP, changing the permission didn't help and in the cpanel denied permission.
but I did the delete code of trentmu and i worked.
I solved this problem
The same problem happened to me and I solved this by using a feature of cPanel. In cPanel there is a feature called "Legacy File Manager" in Files section. If you enter to that you can delete all the folders that you want permanently.Have a nice day :)
after installation which directory need chmod 777 to 555?
After installation will i need to chmod 777 to 555 directories & which one?
You solved my problem
It worked!! Nothing else worked for me, but mesutcan's solution did the trick. I'm glad you figured it out for me because it was really bothering me. Thanks!!
REALLY WORKS!
This is the only one that worked for me. I've tried 'chmod' on the command line, the php script way, and it still couldn't be deleted! That "Legacy File Manager" did the trick :)
Thanks for posting this.
It Worked
I couldn't delete the files either. But, after reading your post, it worked!!!
I'm sorry if this is a silly
I'm sorry if this is a silly questions but... what is cPanel and how do I get to it? I'm on an Economy Linux hosting plan in Godaddy. Please help.
It works bro !
I was stuck ...really stuck...but its worked....its a solution. thank you...
Thanx
Thank you, guys, the php script way helpmed me a lot
I had a js - file in language folder undeletable...
Gamepart, Krambol
Just changing permissions with FTP should work
From reading some of the comments above, I think a lot of people missed that not only do they have to change the permissions of the file(s) they can't delete (settings.php, default.settings.php) to 777 (or at least write enable), which they can do from FTP (no script needed), but they ALSO need to do that to the directory those files are in (just go up one level)!
that's the fix
if this issue arises, this is the simple solution right here.
I thank you!
I found that if the rate on file atributes value is 777, will be able to delete files without any problems!
I hope this to be useful! :-)
My Problem not solve still
I can not delete my files from server.also i can not change the permission from 0000 to 755 or 644.
i am using accerated cpanel and server is Linux based.i am facing this prob just only one folder. i can change the permission of the other folders.please help me..thanks