[PLUG] When mounted doesn't mean mounted

Paul Mullen pm at nellump.net
Wed Jun 24 17:49:06 UTC 2009


On Wed, Jun 24, 2009 at 09:57:54AM -0700, Keith Lofstrom wrote:
> The easiest way to differentiate a directory that will be used for a
> mount point, and a mounted partition on that directory, is to make
> the substructure different, and rely on that.  For example, if the

It's even easier than that. Set the ownership and permissions on your
mount point such that it's writable only by root. Put an entry in
fstab so that the backup file system is user-mountable. When the
backup file system is mounted, the mount point will assume the
ownership and permissions of the mounted file system's root. Nothing
mounted, nothing written (not by a mere user, at least).


-- 
Paul



More information about the PLUG mailing list