*: handle PermissionError when saving files, ensure permission bits are set correctly

closes #3817

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-10-19 20:24:28 +02:00
parent c22dae868c
commit 6882445937
4 changed files with 15 additions and 3 deletions

View File

@ -15,4 +15,6 @@ To fix these issues, run these commands in the folder of your docker-compose fil
```shell
sudo chown 1000:1000 media/
sudo chown 1000:1000 custom-templates/
sudo chmod ug+rwx media/
sudo chmod ug+rx certs/
```