r/archlinux • u/AshleyTGimb • 16h ago
SUPPORT | SOLVED Permission denied (as root)
I'm using WSL archlinux, so I can stream some zig stuff (neither Proton or Wine have implemented some stuff VTube studio uses). For ziglings, I need zig-git, but over almost 24 hours, it still hadn't compiled, and was idling at <300MB. So, I gave up on that, finding a zig-git-bin. I extracted the files and moved them to /usr/local/zig.
When running zig outside of the directory, it says zig can't be found. When I go to /usr/local/zig, and run ./zig, it says it can't be found (it does exist). So I try chown it, and chown doesn't complain about it not existing, but it still doesn't work. Then I give up and log in as root... It now just says -bash: ./zig: Permission denied.
For those who don't know what WSL is: it stands for Windows Subsystem for Linux. It's a Linux distro in a VM, within a terminal. It's an optional Windows addon.