[lug] Protecting Mount Points

Will will.sterling at gmail.com
Wed Feb 23 14:14:38 MST 2011


That is a possibility.

On Wed, Feb 23, 2011 at 2:05 PM, David L. Willson <DLWillson at thegeek.nu>wrote:

> Could you remove the directory and define it in auto-mount/auto-fs,
> instead?
>
> David L. Willson
>
> ----- Original Message -----
> From: "Will" <will.sterling at gmail.com>
>
>
> And if you are on an obsolete UNIX that has questionable support for
> extended file attributes and virtually no way to manipulate them from
> userland?
>
>
> On Wed, Feb 23, 2011 at 1:17 PM, David L. Willson < DLWillson at thegeek.nu >
> wrote:
>
>
> 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
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20110223/a77ea0f9/attachment.html>


More information about the LUG mailing list