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

Allow readonly PERL_INLINE_DIRECTORY #58

Open
epa opened this issue Dec 20, 2016 · 1 comment
Open

Allow readonly PERL_INLINE_DIRECTORY #58

epa opened this issue Dec 20, 2016 · 1 comment

Comments

@epa
Copy link

epa commented Dec 20, 2016

Currently Inline requires that the directory specified by PERL_INLINE_DIRECTORY be writable. If it's not writable then it fails with "can't find an appropriate DIRECTORY", even if all the compiled code it needs is already there.

To make it easier to use Inline with read-only file systems, or in processes running with less privilege and without write permission, it should continue as long as the directory is readable. Only if it later turns out that something needs to be rebuilt should it die if write permission is missing.

I think that when automatically working out the best place to put the _Inline directory it can continue to check for write access. But when a directory is explicitly specified using Config or with the environment variable it should just be used, whether writable or not.

@mohawk2
Copy link
Collaborator

mohawk2 commented Apr 2, 2019

This seems like it could/should be dealt with at same time as #64.

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

2 participants