6,534
edits
Changes
simplify two commands
Sometimes it is usefull to have a folder read-only mounted in a VPS, but also be able to put files in that directory. If you want that, just create an other directory and simlink the read only files into that folder:
vzctl exec2 777 "mkdir /addfileshere && vzctl exec2 777 ln -s /home/* /addfileshere/"
Now the /addfileshere folder is fully writable and it even feels like it is possible to delete files (but that are only the simlinks).