arnehilmann / markdeck

presentations as code - author cool slide decks, text-only, offline-ready, collaborative
https://arnehilmann.github.io/markdeck/
MIT License
1.25k stars 38 forks source link

decktape: permission denied #17

Closed drasch closed 5 years ago

drasch commented 5 years ago

Generating of PDF from UID=1001 on host, gets Permission denied on PDF generation.

pdf_1         | touch: /slides/.meta/pdf_rendered: Permission denied
pdf_1         | starting pdf rendering
pdf_1         | TypeError: Unable to create PDF file, make sure that output file target is available
pdf_1         |     at /decktape/decktape.js:196:26
pdf_1         |     at <anonymous>
pdf_1         |     at process._tickCallback (internal/process/next_tick.js:182:7)
pdf_1         | pdf rendering finished
web_1         | Change detected index.html
pdf_1         | touch: /slides/.meta/pdf_rendered: Permission denied
pdf_1         | starting pdf rendering
pdf_1         | TypeError: Unable to create PDF file, make sure that output file target is available
pdf_1         |     at /decktape/decktape.js:196:26
pdf_1         |     at <anonymous>
pdf_1         |     at process._tickCallback (internal/process/next_tick.js:182:7)
pdf_1         | pdf rendering finished
pdf_1         | touch: /slides/.meta/pdf_rendered: Permission denied
pdf_1         | starting pdf rendering
pdf_1         | TypeError: Unable to create PDF file, make sure that output file target is available
pdf_1         |     at /decktape/decktape.js:196:26
pdf_1         |     at <anonymous>
pdf_1         |     at process._tickCallback (internal/process/next_tick.js:182:7)
pdf_1         | pdf rendering finished
drasch commented 5 years ago

Doesn't look like decktape honors the MARKDECK_USER env variable.

arnehilmann commented 5 years ago

ouch, that might be the case... (and I have to check my notification settings for this project)