-
Notifications
You must be signed in to change notification settings - Fork 218
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
rm: cannot remove 'target': Device or resource busy #5007
Comments
This is a file system permission issue. It seems you can around it by running:
|
Currently we map |
Yes, this seems like good advice. For context, we also map this as a volume: prql/.devcontainer/devcontainer.json Lines 30 to 34 in 62c7cc3
...though only run prql/.devcontainer/devcontainer.json Line 42 in 62c7cc3
For more context, we use a non-root user: https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user. (I've traditionally used a root user in all my docker containers, but ofc trust @eitsupi 's judgement here — and possibly this is standard for dev containers. I don't think it's PRQL that is setting the user to |
What happened?
This is a refined report from #4974. It appears that the problem with my M2 Mac is that something is wrong with the file system in the Dev Container, and that files/directories cannot be modified.
I have removed all containers, images, and volumes for PRQL and the caches to rebuild the entire Dev Container. I don't intentionally have any external processes running on the Mac that would occupy the Dev Container file system.
@max-sixty @eitsupi @vanillajonathan Here's the evidence I have. What else could I collect? Thanks.
wasm-pack is not installed, running
cargo install wasm-pack
gives this error:error: failed to create directory /usr/local/cargo/registry/cache/index.crates.io-6f17d22bba15001f
task web:run-book
gives this error:cd /workspaces/prql; rm -rf target
gives this error:PRQL input
SQL output
N/A
Expected SQL output
N/A
MVCE confirmation
Anything else?
No response
The text was updated successfully, but these errors were encountered: