Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Oct 2011 18:37:10 +0200
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-questions@freebsd.org
Subject:   Re: alternative for user immutable flag on ZFS
Message-ID:  <4E9713B6.4010503@my.gd>
In-Reply-To: <4E970E02.1090202@gmail.com>
References:  <4E970E02.1090202@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/13/11 6:12 PM, Michael wrote:
> Hello,
> 
> I have some important files in my home directory and I want to make sure
> that they are not changed/removed by my mistake.
> 
> So I'm looking for something that prevents all programs (like rm) from
> changing these files even if I tell them to do so. But then on some rare
> occasions I really need to modify them so there must be a way of
> clearing these restrictions. And all that from my user account without
> root privileges.
> 
> Normally I would set user immutable flag, which can be manually cleared
> in case when I know what I'm doing. The problem is that I can't get them
> to work on ZFS and it looks that it's not supported.
> 
> Are there any alternatives or different ways to achieve my goal? I'm
> using FreeBSD 8.2-Release.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"


Something that would part address your problem is taking snapshots of
the directory with your important files...

Sure, this doesn't replace the immutable flag, but it surely achieves
what you want.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E9713B6.4010503>