I want to run a command on Linux in a way that it cannot create or open any files to write. It should still be able to read files as normal (so an empty chroot is not an option), and still be able to write to files already open (especially stdout).
Bonus points if writing files to certain directories (i.e.
I am planning on switching from another Linux OS to Ubuntu 12.04 LTS. The only problem I have is that I've been using another OS for so long and have so many files on the current OS that I don't want to lose those files when switching to Ubuntu. Is there any way to backup files from another OS and put them in Ubuntu. Thanks All.