inkle / inkle/inky

Hardcoded temp path prevents multiple users using Inky on one system

Open
#369 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

![inky-tmp-error](https://user-images.githubusercontent.com/255844/135733881-d22c5af7-b720-4c52-8ba4-b2f4005acce0.png)
Inky uses a directory `/tmp/inky_compile` for temporary files to compile.

Because this is a hard coded path and includes no random element, it is the same for any user on the system, but it is owned by the first user on a system to run Inky, and it's permissions are that other users don't have write access.

This means that if any user of a system has run Inky recently, all other users will receive an error message when loading Inky, and be unable to preview their story.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.