Jump to content

Topic on Extension talk:Score/Flow

Score upload directories owned by root

1
192.222.211.196 (talkcontribs)

Mediawiki 1.34

Score 0.3.0 (0f4d4c1)


Not sure if this is an issue with my server configuration or a bug in the extension, hopefully someone can clarify. My server is setup to run under the user www-data, but new directories created under images/lilypond/... when generating new scores have the owner set to root instead of www-data as I would expect. This causes the pages that render scores in the wiki to throw a error saying that its impossible to copy the files to their destination ("mwstore://score-backend/score-render/..."). I can run chown on my images directory to set owner back to www-data and the error disappears, but I want to ensure that the directories are created with the correct owner in the first place. This problem doesn't occur with normal file uploads, only directories created by Score. Any ideas/suggestions for fixing this?

Reply to "Score upload directories owned by root"