Hey everyone,

I got a permission denied error when trying to import a gallery from a zip. First I selected "arch" from the "Files, Folders and Archives" dropdown. Strangefully, the zip I uploaded was named img.zip but I guessed that arch was a standard term.
The system told me: "Import finished. To see your changes refresh here or go to the node view."

After refreshing I received the following error:
warning: ZipArchive::extractTo() [ziparchive.extractto]: Permission denied in /is/htdocs/wp10455448_CBZ8E6UCAX/www/tzzz/sites/all/modules/gallery_assist_upport/gallery_assist_upport.module on line 206.

What am I missing?

Comments

almightyhelmet’s picture

Update: the same thing happens when trying to import images

warning: unlink(sites/default/files/gallery_assist/1/import/FRRO_01.jpg) [function.unlink]: Permission denied in /is/htdocs/wp10455448_CBZ8E6UCAX/www/tzzz/includes/file.inc on line 459.
The removal of the original file sites/default/files/gallery_assist/1/import/FRRO_07.jpg has failed.

I checked the permissions. In order to ftp the image files I had to use my ftponly user. The standard permission was set to "nobody" which prevents me from doing anything via ftp.

jcmc’s picture

Status: Active » Needs review

Hello almightyhelmet,

now I have the time to give answers to all reports.
If you see you are the once that have this problem. I suppose it is a file system permissions issue and have nothing to do with Drupal or any module.
Anyway... it exists now a new version and it is better I wait your feedback after the update.

Regards and Thanks in advance
Juan Carlos

jcmc’s picture

Status: Needs review » Closed (won't fix)

This is not a error from module because media modules work dependent to the directories right permissions and this belong to the files and directories right system your server, work station and apache or ftp configuration for example umask conf etc.

check that the www-user* and the ftp-user are in the same files right group.

So a error is not in my hand or in the hand of a module developer.
I change the status. If some body has other opinion, please post this here and tell me how I can solve this issue at the module level.

Regards
Juan Carlos