Closed (won't fix)
Project:
Image
Version:
4.6.x-1.x-dev
Component:
image.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2005 at 09:48 UTC
Updated:
18 Feb 2006 at 19:25 UTC
In a fresh 4.6 with a files-folder chmoded to 0777, the image-module seems to create subfolders with 0740 and files with 0644. The owner is the webserver, which causes problems when you want to make changes to the filestructure or remove temp-files and don't have superuser access (remote-hosted).
Comments
Comment #1
povinho commentedI've the same problem. I cannot open the file folder via FTP or Cpanel.
But if I open via Web I get a file list of all the files in the folder.
"http://site/files/images"
I'm using Drupal 4.6.0. I use FTP access and CPanel access to my Host.
Via FTP I get:
CWD /www/files/images
550 Can't change directory to /www/files/images: Permission denied
Via CPanel File Manager I get:
Unable to change directory to /www/files/images! You do not seem to have access permissions! (System Error: Permission denied)
The "/images" permissions shows 7.4.0
Shouldn't I have permission to at least copy or delete this folder?
After all I own the site and I could have the need to move it.
Thank you in advance.
Comment #2
Bèr Kessels commentedMaking this a support request.
I know it is not very nice to say, but this really is not a Drupal problem. It is because of ther permissions and way your server was set up.
There have been a lot of issues and forum posts on this, so please search these, and if found, close this issue.
Comment #3
tangibre commentedI'll mark this as a won't fix, as I have realised that this is, as Bèr Kessels says, not strictly a Drupal problem. It has to do with the setup of the webserver and the way you access your files. I don't have a full understanding of it, but if the web server and the e.g. ftp account you use don't have the same access rules/groups or whatever, you might end up with files that only the webserver has access to.
One sollution I have tried is to use a third party php-based file browser to change/delete the affected files, as this kind of web-application will have the same privileges as the web server.
Sorry for waiting so long before closing this.