Skip to content

Copying files directly to piwigo docker

RushLana edited this page Mar 24, 2026 · 3 revisions

This not necessary since Piwigo docker 16.3.0c, you use PIWIGO_UID/PIWIGO_GID instead

If you try to copy files to your piwigo docker instance and are not able to due to missing permissions do not change file ownership

You can solve this issue by using ACLs, typically you want to access galleries to directly upload pictures but you may also want to use custom plugins. Locate the folder you want write permission in :

./piwigo-data
├── mysql
├── piwigo
│   ├── ...
│   ├── galleries
│   └── plugins
└── scripts

You can use setfacl to allow <MyUser> (substitute with the desired user and folder) write access

sudo setfacl -m u:<MyUser>:rwx ./piwigo-data/piwigo/galleries/

If you get setfacl: command not found install acl (not acl2) with sudo apt install acl on Debian.

Clone this wiki locally