You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature
At present, mage can only be run from a writable directory. This means a read-only source tree cannot be used to run even mage tasks which do not by nature attempt to create or modify existing files (think test invocations, or upload operations, or so forth).
Falling back to a newly-created location under TMPDIR for the executable being compiled -- or allowing an explicit environment variable to be used to specify the location to use -- would avoid outright failure in these scenarios.
What problem does this feature address?
Allows use in environments where read-only trees are preferred for either security (least-privilege: if an operation isn't intended to modify the source it comes from, why let it?) or efficiency (a read-only tree can live in an immutable shared store) reasons.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the feature
At present, mage can only be run from a writable directory. This means a read-only source tree cannot be used to run even mage tasks which do not by nature attempt to create or modify existing files (think test invocations, or upload operations, or so forth).
Falling back to a newly-created location under
TMPDIR
for the executable being compiled -- or allowing an explicit environment variable to be used to specify the location to use -- would avoid outright failure in these scenarios.What problem does this feature address?
Allows use in environments where read-only trees are preferred for either security (least-privilege: if an operation isn't intended to modify the source it comes from, why let it?) or efficiency (a read-only tree can live in an immutable shared store) reasons.
Additional context
N/A
The text was updated successfully, but these errors were encountered: