There’s been a rights issue when installing BookStack for a while it seems (see Bookstack - problème d'autorisations pour uploader des images). The image folder doesn’t have the right owner nor the right rights.
I forked the official repository, then tried some things. It works for me.
Can you please try and tell me if my modification is “correct” or if there is another way to do this.
Thanks in advance.
All you have to do is install and check that you can add an image when creating a book or page.
If it’s ok for you, I’ll do a PR on the Testing branch.
Where do I do the PR directly?
Here’s the repository
Thanks
Additional question.
Why is the /var/www/bookstack
folder set to 750 on Yunohost when the doc says 755?
Source : Filesystem Permissions · BookStack
Il y a un problème de droit lors de l’installation de BookStack depuis un moment semble-t-il (cf Bookstack - problème d'autorisations pour uploader des images). Le dossier image n’a pas le bon propriétaire ni les bons droits.
J’ai forké le dépôt officiel, puis essayé des choses. Chez moi ça fonctionne.
Este ce que vous pouvez essayer et me dire si ma modification est “correct” ou s’il y a une autre méthode pour faire ça.
Merci d’avance.
Il suffit de faire une installation est de vérifier que vous pouvez ajouter une image lors de la création d’un livre ou d’une page.
Si c’est ok pour vous, je ferais une PR sur la branche Testing.
Où faut-il directement faire la PR ?
Voici le dépôt
Merci
Question supplémentaire.
Pourquoi le dossier /var/www/bookstack
est en 750 sur Yunohost alors que la doc demande 755 ?
Source : Filesystem Permissions · BookStack