Announcement

#1 2021-01-02 07:53:04

ericray
Member
2021-01-02
2

_data permission issue: no write access

Hi,

I've mounted _data to a QNAP NAS, and symlinked the mnt point to _data. The piwigo user (www-data) should have access to this:

ls -l _data
lrwxrwxrwx 1 www-data root 16 Jan  2 05:46 _data -> /mnt/piwigo_data

However, piwigo is throwing an error and saying "./_data/templates_c no write access"

Any ideas?

Offline

 

#2 2021-01-02 21:50:45

erAck
Only trying to help
2015-09-06
1414

Re: _data permission issue: no write access

As _data in your setup is a symbolic link the permissions you posted are that of the link, not the location it is pointing to. The interesting permissions would be those of /mnt/piwigo_data and /mnt/piwigo_data/templates_c


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2021-01-02 22:03:17

ericray
Member
2021-01-02
2

Re: _data permission issue: no write access

Yikes! You're totally right - I didn't realize the permissions wouldn't carry across the link. A quick chown of the three piwigo folders to www-data in /mnt/ seems to have totally fixed the issue.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact