#1 2024-02-29 21:03:22

neon
Member
2023-03-27
20

Piwigo tries to change files ownership

Hi everyone,

One of the reasons why I chosen Piwigo is the fact that it can work without doing any modifications to my photos. This is very critical for me. I mount my photo folders as read-only inside /galleries, syncronise them, and then create virtual albums or whatever else. Everything works great :)

BUT
Looking in log files, I see that at every restart Piwigo (or some its component?) tries to change ownership of all my photos:

     chown: changing ownership of '/gallery/galleries/SomeFolder/SomeFile.JPG': Read-only file system

and like this for all thousands of photos!
It does not harm, but I suppose slows down the start-up.
Is there a simple way of skipping these trials?

Offline

 

#2 2024-07-07 10:51:19

dhwalker
Member
2021-01-04
1

Re: Piwigo tries to change files ownership

I am having this issue, too. Is there a known workaround?

Offline

 

#3 2024-07-07 15:49:19

erAck
Only trying to help
2015-09-06
2177

Re: Piwigo tries to change files ownership

There is not a single PHP chown() call in Piwigo core, nor in the plugins I have installed. Try this command line in your Piwigo directory to grep in your installed plugins:

Code:

grep -rw chown plugins

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

Offline

 

#4 2024-07-27 23:52:31

neon
Member
2023-03-27
20

Re: Piwigo tries to change files ownership

I tried this command, and it does not give any feedback

Offline

 

#5 2024-07-28 01:04:15

erAck
Only trying to help
2015-09-06
2177

Re: Piwigo tries to change files ownership

¯\_(ツ)_/¯

Check your system setup.


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

Offline

 

#6 2024-08-01 03:56:35

raupie
Member
2023-07-11
46

Re: Piwigo tries to change files ownership

Which log file did that come from?

> I mount my photo folders as read-only

Mystery solved? Maybe the app is running from a different user and doesn't have permissions setup.

Offline

 

Board footer

Powered by FluxBB

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