-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Failed to initialize logging on read-only HOME #48
Comments
Good point, we should probably log into Lines 59 to 66 in c67e318
Right now it just always uses home: Line 43 in f4560cb
|
Changing the path to |
I reopened this since it doesn't fully resolve your issue; is |
The weirdest thing I find is it logs (at first to home, then to ~/.config which it shouldn't) by default, I thought log should be opt-in? If not we can just log to /tmp right? See #64 |
Is |
What if we do like |
it's just the log function, we shouldn't just disable the config. Maybe we can make it /tmp by default or spare, and when the log file unwriteable , the editor should be useable, and don't forget the warning info |
We follow the XDG specification on Linux/macOS, so if you set I think we don't need a separate flag to disable this because we'll be leveraging the cache even more in the future (to store :command history, /search history, persist undo states & document positions across restarts etc) |
Not sure I get that correctly. I already have |
This is on the latest release (0.0.10), and the error is still "Read-only file system"? It's supposed to log to |
Sorry, that was my fault. It does indeed log to |
@mennthor Ah, no. Thanks for sending in the issue request. It was only since 0.0.10 doing that but 0.0.9 doesn't have this. Closing this as it isn't an issue, it was also shown in |
Maybe it would be nice to use the new |
I'm on Debian Jessie but the
HOME
is read-only atm.So I set
CARGO_HOME
to a writable location and installed helix from source as specified in the README.The
runtime
folder was copied to$CARGO_HOME/bin
.I tested this setup on another machine (OSX) with writable home and it works properly there.
On the Debian however, I get
when starting
hx
.The text was updated successfully, but these errors were encountered: