Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File lock on read only systems #63

Open
szyg opened this issue Jul 7, 2023 · 0 comments
Open

File lock on read only systems #63

szyg opened this issue Jul 7, 2023 · 0 comments

Comments

@szyg
Copy link

szyg commented Jul 7, 2023

On read-only file systems the FileLock attempts to create 'serial.lock' in the current folder which fails. On linux systems it would make more sense to default to /var/lock or /tmp which are usually mounted as tmpfs on read-only systems. It's simple enough to manually modify line 292 of notecard.py but it would be nice if it defaulted to /var/lock or was overridable in the init to a file of choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant