Lock a partition to a few folders

Posted by Oxwivi on Ask Ubuntu See other posts from Ask Ubuntu or by Oxwivi
Published on 2011-03-03T11:33:55Z Indexed on 2011/03/03 15:33 UTC
Read the original article Hit count: 306

I want to have a few folders on a partition whose contents I can freely edit, but outside nothing should be saved.

Specifically, I want the folders in my Home (Documents, Music, etc) on a different partition, but rest of the normally hidden folders remain in the main partition with Ubuntu. I can make the files within the Home folders save in another partition using fstab binding, but I still can't think of how to lock the partition from edits outside those folders. I'm open to suggestions of alternatives to binding - but please, no symbolic links.

© Ask Ubuntu or respective owner

Related posts about partitioning

Related posts about lock-partition