AREPL-vscode icon indicating copy to clipboard operation
AREPL-vscode copied to clipboard

CHroot process in python or something

Open Almenon opened this issue 6 years ago • 1 comments

see https://github.com/Almenon/AREPL-vscode/issues/141

See if there's some way to prevent process from writing / deleting anything

Almenon avatar Jul 29 '19 00:07 Almenon

https://unix.stackexchange.com/questions/64642/how-to-prevent-a-process-from-writing-files

I could open up a shell via python and run those commands maybe??

mount --bind /foo/ /path/to/chroot/
mount -o remount,ro /path/to/chroot/

Not sure how to launch process inside chroot.

Almenon avatar Jul 29 '19 00:07 Almenon