Posted by eclypse on April 1, 2008 at 8:39am
Hi everybody,
I'm using Drupal 6 with IMCE and FCKeditor modules. My folder site/default/files is not accessible at all neither from IMCE, nor from FTP (filezilla).
When I try to move a file into it through FTP, it gives me an error message: "550 Rename/move failure: Permission denied". I've tried to change the folder permission and it always says operation not permitted and stayed 775.
I got stuck with this. please help!!!
Comments
Do you have an .htaccess
Do you have an .htaccess file in that folder? What does it say and does your server/host permit you to use .htaccess?
----------------
drupalfun.com
Yes .htaccess works fine
Yes , I have one. and the other ones works fine. I could download it but not erase it or move it. it always give me the same error message.
re : what kind of web hosting are you using?
If your web hosting support CPanel, you can try to edit the permission inside the Cpanel. There might be some restriction from the web server to any external connection to edit the permission. Go to the file manager of your Cpanel.
Check the folder > click set permission. Please restrict back the permission if you would just to use it for installation purposes.
Note :
If you want to remove this kind of files, you should use Putty to connect and do force delete if your server run under Linux/Unix environment
zie86
http://e-utm.890m.com
seconde.fr
my webhosting is seconde.fr. and i have cpanel.
The problem is even with the included filemanager, it gives me the same error message (action not permitted).
With other files and folders, I can change permissions without any problem. it is only with the site/default/files.
I'm free to move and delete files any other folders except this one. So it seems to be a drupal configuration problem and not hosting.
But where and how?
You have a program call putty?
try to use Putty to force delete the site folder and create a new one. For your information, Putty is a program that run under Linux/unix environment. So you must have some knowledge on the command as well!
maybe this issue?
It is likely that you have bumped into this bug: http://drupal.org/node/218210
I am looking for others who encountered the same issue, but it is difficult to trace as it seems to occur only under special hosting configuration.
Still can't delete/move this directory
I had no other choice than selecting another directory for files.
Meantime, this invincible directory is still in site/default and I can do nothing with it!
So if someone find the solution to kill it, let me know.
Thank you for all your help. I greatly appreciate.
the .htaccess file
Hi, sorry..
I accidentally erased my .htaccess file in www.example.com/sites/default
When I looked in my backups, I didn't seem to have a copy of the file.
I am now getting Internal Server Errors when trying to access my site.. Is this a critical file?
Are all .htaccess files the same for this folder? If so, can I copy yours?
Does anybody know how to restore this, please? Have I lost everything I've worked on? =/
Thanks..
the .htaccess file
Don't worry, you just need a replacement on that file. You can still have everything going fine after you upload this file! But , htaccess is a very important file without it your site wont run!
Here, i uploaded the default .htaccess file. You need to modify something in order to make it capable of doing clear URL's .
Download here :
http://e-utm.890m.com/content/htaccess.zip
# RewriteBase /drupal <-----uncomment this if your file is at /www/drupal
#
# RewriteBase / <----- uncomment this, if your drupal at root of /www
Good luck!
UTM e-community - SEO and Drupal tutorials
check previous level permissions
eclypse,
if you can't change permissions in the "site /default/settings" folder, you might need to go back to the folder at the level just before the file you are trying to access. Check permissions on "sites", then on "default". If you are not granted permission at these levels, then access to any folder or file they contain will be blocked.
The upper level folders are accessible
This bug is the one that snufkin gave me to see: http://drupal.org/node/218210.
No fixing solution yet!
Totally Same Problem
I got same problem like this..
Cannot solve with anyway.. :'(
In my hosting, i can't upload any files to site/default/files
If u guys found a way to fix it, please tell me.
Same error here
I am experiencing the same error - no cpanel and no ssh connection to my server though ...
www.mimaku.info
Over a year has passed so I
Over a year has passed so I take it you have the solution for this?
I'm experiencing the same problem after fresh install of drupal 6.12. That little /files folder is so persistent! I have tried the following to no avail:
- Of course change permission but it won't let me. I have successfully changed all the upper folders but it doesn't change the way /files folder behaves.
- I have created and set a new upload folder name 'files2' in the same directory (sites/default/files2) but it also behaves the same way! Now I have 2 persistent and stubborn folders that I really want to get rid off!
I would really appreciate any help. Thanks.
Make that 3! 3 folders that I
Make that 3! 3 folders that I want to get rid off so badly. I created another folder as it turns out all folders created by drupal are persistent...
Still experiencing the same
Still experiencing the same issues. I now keep on managing files via changing ownership (or instantly delete) in my providers' webspace administration > file management interface
www.mimaku.info
Lucky you. Me, I can't even
Lucky you. Me, I can't even delete or modified permission using webhost's filemanager.
May be something with IMCE
I'm having the same issue as well. However, I was successful at uploading a test.txt created file into the default/files directory. I was also able to modify its permissions without any issues. Seems all the files that have been placed into this directory via IMCE get locked up for some reason. Any one get the same issues?
** on another note, I also created a new directory via IMCE and got the same errors. but when I created the directory on my own (via filezilla) i was able to make modifications freely. Anyone know how to fix this?
site/files/default/*.* - Finaly deleted
I had the problem of ../files/default/*.php being indestructible.
roaming had the right solution: One must change the permissions on the upper directories first. I then was able to delete all files and folders.
not working
This solution didn't work for me. I set /default to 777 and recurse it into directories and files but to no avail.
My permissions:
/sites/default -> 755
/sites/default/files -> 775
/sites/default/settings.php -> 444
So it should work fine but it always returns the same error
Since the site is not on my server, I don't have to root privileges and can't do anything. If I create a new directory via FTP and then go to /admin/settings/file-system in Drupal to set the name of this directory under "File system path:" it gives me an error (I don't remember what it says and I don't want to do it again). The only way to make it work is to give a new name under "File system path:" and let Drupal create it for me on the server but then I am back to my initial problem where I cannot upload any files to it.
This is so annoying.
Jeeremie
Visual Interface Designer
http://web-kreation.com
GRANT ACCESS
With the help of the server administrator, we could finally fix the problem by doing CHMOD 777 -R (-R for recursive). Now I can finally upload files to sites/default/files/ from FTP. Hope it works for you too.
Jeeremie
Visual Interface Designer
http://web-kreation.com