I can't mount to /home for now, but tried to cargo clean + cargo update (by removing /target and Cargo.lock), now I have this error:
cargo build --release
Compiling proc-macro2 v1.0.95
Compiling libc v0.2.174
Compiling pin-project-lite v0.2.16
Compiling bytes v1.10.1
error: failed to run custom build command for `proc-macro2 v1.0.95`
Caused by:
could not execute process `/mnt/sd/build/aquatic-crawler/target/release/build/proc-macro2-1ad64da7dbc8903b/build-script-build` (never executed)
Caused by:
Permission denied (os error 13)
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `libc v0.2.174`
Caused by:
could not execute process `/mnt/sd/build/aquatic-crawler/target/release/build/libc-e2233b823a816792/build-script-build` (never executed)
Caused by:
Permission denied (os error 13)
- I'm building from the
root, as rustup installed for this user, so there is no sense to change permissions, it's something else.
UPD. found related subject, even my FS is ext4 everywhere:
maybe the rw flag in the /etc/fstab not something like x+rw
UPD. finally fixed with following options (add exec flag)
UUID=xx /mnt/sd ext4 defaults,noatime,rw,user,auto,exec 0 2
- then reboot
