Changes

Jump to: navigation, search

Bind mounts

13 bytes added, 10:00, 20 September 2010
Read-only bind mounts
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:
<code>vzctl exec2 777 mkdir /addfileshere && ln -s /home/* /addfileshere/</code>
Now the /addfileshere folder is fully writable and it even feels like it is possible to delete files (but that are only the simlinks).
Anonymous user

Navigation menu