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

Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } #10

Open
w3xsense opened this issue Oct 8, 2022 · 3 comments

Comments

@w3xsense
Copy link

w3xsense commented Oct 8, 2022

hello.. it seem moonwalk get is broken

$ ./moonwalk start
[INFO] Found /dev/shm/.MOONWALK as world writable.
[INFO] Set /dev/shm/.MOONWALK as the logging directory
[SKIPPED] Logging /var/log/messages requires sudo privileges.
[SKIPPED] Logging /var/log/auth.log requires sudo privileges.
[SKIPPED] Logging /var/log/kern.log requires sudo privileges.
[SKIPPED] Logging /var/log/boot.log requires sudo privileges.
[SKIPPED] Logging /var/log/lighttpd requires sudo privileges.
[SUCCESS] Saved the current log states.

$ /tmp/moon  ./moonwalk get nolog.txt

[>] To restore the access/modify timestamp of this file, use command ↓

$ touch -a -d '2022-10-08 12:33:26.379565377 +0800' -m -d '2022-10-08 12:33:26.379565377 +0800' nolog.txt

$ /tmp/moon  ./moonwalk finish
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

@mufeedvh
Copy link
Owner

mufeedvh commented Oct 8, 2022

Hey @w3xsense, can you please try now, please try again with a fresh install. If it still isn't working, I will look into it in detail next week. Thanks!

@w3xsense
Copy link
Author

hey @mufeedvh, already did fresh install with $ cargo install --git https://github.com/mufeedvh/moonwalk.git,

@genevera
Copy link

This is happening for me as well on linux. I think the way a world-writable directory is found needs to be altered a bit.

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

3 participants