Silly me, of course it is, since ownership & permission info is in the inode, not the directory entry...!
Type: Posts; User: phssthpok2; Keyword(s):
Silly me, of course it is, since ownership & permission info is in the inode, not the directory entry...!
You can also use mount -bind for /lib, /lib64, /dev and /proc.
Oops. Couldn't see reply #11 and assumed I'd forgotten to hit submit, so posted again #12. Is there a way to delete messages here?
The problem that this is inefficient when you're dynamically creating sandboxes (as I am) and you have to copy the files into each one. My workaround is to copy the files I need into a directory...
Which is very inefficient if you're setting up sandboxes dynamically, as I am. Linking is much faster and more efficient.
As I said, my workaround is to make copies of all the necessary files in a...
Symbolic links won't work from inside a chroot jail.
This doesn't help because (a) I don't want to use sudo (or setuid root!) to run the script to create my sandboxes, and (b) I have r-x access to everything in /usr/bin and write access to the...
/usr/bin and the directory under /home where my sandboxes go are both within the root directory mounted on /dev/sda5 according to df.
On Ubuntu 20.04, I am trying to create hard links to some essential tools in /usr/bin for use inside a chroot jail. When I try, I get an "Operation not permitted" error. My current workaround is to...