2 ms·
I'm confused. I tried `unshare --uts --pid --net --mount --ipc --fork` but it failed due to permissions. `sudo unshare --uts --pid --net --mount --ipc --fork`
by qwertox 3y ago
I'm confused.
I tried `unshare --uts --pid --net --mount --ipc --fork` but it failed due to permissions. `sudo unshare --uts --pid --net --mount --ipc --fork` left me in an environment where I was still in my home directory, able to see all the files and create new files which would persist after exiting.
I guess there are many other tutorials which would explain this in depth, but this blog post did not really teach me anything useful about `unshare`.
- ghostfoxgod 3y agoBest place to learn in depth about any command ⇾ https://man7.org/linux/man-pages/man1/unshare.1.html https://man7.org/linux/man-pages/man1/unshare.1.html Of course, it's not feasible to add everything into a single blog, it's upon the reader's curiosity to explore more. PS: I find man pages a lot helpful now, and would recommend the same for others as well.