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

When "/etc/resolv.conf" is already immutable it will give out "Operation not permitted" error #4

Open
epomatti opened this issue Sep 15, 2022 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@epomatti
Copy link
Owner

In a situation where /etc/resolv.conf has already been marked as immutable, and the bash script is run again, it will give the error below:

$ sudo sh ./run.sh
rm: cannot remove '/etc/resolv.conf': Operation not permitted
cp: cannot create regular file '/etc/resolv.conf': Operation not permitted
WSL name resolution configured
Restart WSL on Windows: "wsl --shudown"
@epomatti epomatti self-assigned this Sep 15, 2022
@epomatti epomatti added bug Something isn't working documentation Improvements or additions to documentation labels Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant