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

aftman does not mark binaries in tool-storage as executable on Unix systems #11

Closed
osyrisrblx opened this issue May 24, 2022 · 2 comments · Fixed by #14
Closed

aftman does not mark binaries in tool-storage as executable on Unix systems #11

osyrisrblx opened this issue May 24, 2022 · 2 comments · Fixed by #14
Labels
bug Something isn't working

Comments

@osyrisrblx
Copy link

image

I'm able to consistently reproduce this issue on Ubuntu WSL in Windows 11.

Text version
~/playgrounds/rbxts > rm -rf ~/.aftman/
~/playgrounds/rbxts > aftman init
~/playgrounds/rbxts > aftman add rojo-rbx/rojo
Tool rojo-rbx/rojo has never been installed before. Install it? yes
[INFO  aftman::tool_storage] Installing tool: rojo-rbx/rojo
[INFO  aftman::tool_storage] Downloading rojo-rbx/rojo v7.1.0 (rojo-7.1.0-linux.zip)...
[INFO  aftman::tool_storage] rojo-rbx/rojo v7.1.0 installed successfully.
[INFO  aftman::manifest] Tool rojo = rojo-rbx/rojo@7.1.0 has been added to /home/osyris/playgrounds/rbxts/aftman.toml
~/playgrounds/rbxts > rojo -V
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', src/tool_storage.rs:77:71
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
~/playgrounds/rbxts > chmod +x ~/.aftman/tool-storage/rojo-rbx/rojo/7.1.0/rojo 
~/playgrounds/rbxts > rojo -V
Rojo 7.1.0
~/playgrounds/rbxts >
@osyrisrblx osyrisrblx changed the title aftman does not mark binaries as executable in WSL aftman does not mark binaries in tool-storage as executable in WSL May 24, 2022
@osyrisrblx
Copy link
Author

@osyrisrblx osyrisrblx changed the title aftman does not mark binaries in tool-storage as executable in WSL aftman does not mark binaries in tool-storage as executable on Unix systems May 24, 2022
@LPGhatguy LPGhatguy added the bug Something isn't working label May 24, 2022
@LPGhatguy
Copy link
Owner

Easy to fix! Will be tackled in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants