[lug] Protecting Mount Points

David L. Willson DLWillson at TheGeek.NU
Wed Feb 23 13:17:30 MST 2011


This is what I do:

# chattr +i /mountdir

David L. Willson
Trainer, Engineer, Enthusiast
RHCE MCT MCSE Network+ A+ Linux+ LPIC-1 NovellCLA UbuntuCP
tel://720.333.LANS
Freedom is better when you earn it. Learn Linux.

----- Original Message -----
From: "Will" <will.sterling at gmail.com>
To: lug at lug.boulder.co.us
Sent: Wednesday, February 23, 2011 1:04:44 PM
Subject: [lug] Protecting Mount Points


I want to protect some mount points from being written to if an NFS mount were to fail. I think I can do this by setting the mount point to be owned by root and writable by no one. When the NFS export is mounted the mount point will take on the permissions of the export allowing the proper users/groups to write to it. I am about to set up a quick test to verify this but I was wondering if anyone already knows if this works or a better way to accomplish the same? 


Regards, 
Will 
_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety



More information about the LUG mailing list