[plugins] [Virtualize] Permission error #301

Closed
opened 2026-10-04 23:51:12 +02:00 by adam · 2 comments
Owner

Reported by jc on 2 Feb 2015 13:39

Version: 2.7.3

It says This plugin moves all your photos from "galleries" ... to "upload"... but sometimes it is not possible. For example when i copy albums from my G2 installation to galleries, dirs have 0755 and files 0644 unix permissions with me (not apache) as owner. When i click to "Start virtualization", albums are marked as virtual (admin home says i have all virtual) but stays in galleries folder. There is permission error in apache log:

[Mon Feb 02 14:14:48 2015] [error] [client IP] PHP Warning: rename(./galleries/dir/file.jpg,./upload/2012/11/28/20121128154417-6f903d46.jpg): Permission denied in /.../plugins/virtualize/admin.php on line 71, referer: http://URL/admin.php?page=plugin&section=virtualize%2Fadmin.php

There is NO error in admin GUI. Gallery works with some bad thumbnails and albums are half-virtualized.

So i suggest:

  1. Show information about required permission to galleries folder on admin.php?page=plugin&section=virtualize
  2. Test permission while migrate and don't do anything before it is sorted out.

Piwigo Bugtracker #3196

**Reported by jc on 2 Feb 2015 13:39** **Version:** 2.7.3 It says This plugin moves all your photos from &quot;galleries&quot; ... to &quot;upload&quot;... but sometimes it is not possible. For example when i copy albums from my G2 installation to galleries, dirs have 0755 and files 0644 unix permissions with me (not apache) as owner. When i click to &quot;Start virtualization&quot;, albums are marked as virtual (admin home says i have all virtual) but stays in galleries folder. There is permission error in apache log: [Mon Feb 02 14:14:48 2015] [error] [client IP] PHP Warning: rename(./galleries/dir/file.jpg,./upload/2012/11/28/20121128154417-6f903d46.jpg): Permission denied in /.../plugins/virtualize/admin.php on line 71, referer: http://URL/admin.php?page=plugin&amp;section=virtualize%2Fadmin.php There is NO error in admin GUI. Gallery works with some bad thumbnails and albums are half-virtualized. So i suggest: 1. Show information about required permission to galleries folder on admin.php?page=plugin&amp;section=virtualize 2. Test permission while migrate and don&#039;t do anything before it is sorted out. [Piwigo Bugtracker #3196](http://piwigo.org/bugs/view.php?id=3196) <!-- github-sync-id:97227043 -->
adam closed this issue 2026-10-04 23:51:12 +02:00
Author
Owner
See https://github.com/plegall/Piwigo-virtualize/issues/1 <!-- github-comment-id:124851873 -->
Author
Owner

Comment posted by jc on 2 Feb 2015 14:08

After migration there are many empty directories. It's pretty confusing and i suppose to remove them after successful remove of all included files outside.

**Comment posted by jc on 2 Feb 2015 14:08** After migration there are many empty directories. It&#039;s pretty confusing and i suppose to remove them after successful remove of all included files outside. <!-- github-comment-id:124899158 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#301