Ok, I have thoroughly gone through this on three different versins of Drupal(4.6.3,4.6.4,cvs/4.7), just to be sure.
When uploading a photo using the image.module, I get this:
"warning: copy(C:\Apache Group\Apache2\htdocs\drupal\files): failed to open stream: Permission denied in C:\Apache Group\Apache2\htdocs\drupal\includes\file.inc on line 287.
The selected file C:\Apache Group\Apache2\htdocs\drupal\files could not be copied."
Now, this only occurs within the cvs/4.7 drupal and image module series. Check permissions I hear you say. Done that. The other two versions(4.6.3,4.6.4) of drupal/image.module that I tested had no problems and they were tested on the exact same server with the exact same permissions as the cvs/4.7 version.
The images themselves are uploaded and everything else is normal, except these errors upon image node creation. I used both an updated and fresh version of cvs/4.7 to test this. Same errors under both circumstances. Any ideas?
thanks,
wim
Comments
Permissions and USER / Group
Hi
this may sound weard, but I had / have an issue with images too.
The problem is not the CHMOD as such, but the "user", so to say CHOWN.
Seems in my case, that the scripts act as one user, while my ftp access and script access through Cpanel works as another user.
Guess there has been a change in Drupal / CivicSpace scripts in this matter for security reasons. :-(
Roland
interesting, any solution?
Hello Roland,
No it does'nt sound weird. However, I must confess that although I understand what you are saying I am on windows, not using Cpanel, and have direct server access(no ftp required)! Any ideas? By the way, what was your solution to this issue?
thanks,
wim