I am doing 3 things and getting a permission denied error.
cargo new bevy-chess
cd bevy-chess
cargo run
This all works fine. It's only after I add bevy as a dependency that I start having problems.
cargo add bevy
cargo run
thread 'main' panicked at /home/ashensilverwolf/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alsa-sys-0.3.1/build.rs:13:18:
Failed to run command `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" PKG_CONFIG_ALLOW_SYSTEM_LIBS="1" "pkg-config" "--libs" "--cflags" "alsa"`, because: Permission denied (os error 13)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Not sure what would be causing this, as I'm not using sudo commands at any point.
Any help would be appreciated.