I regularly perform
Apparently regular permissions are not appropriate in this case. ACL too - they appear to be extension of regular permissions.
I'm not interested in third party software. Of course the option of storing data content somewhere else (e.g. /data) is possible but I am looking for solution involving chflags()
P.S. Please keep ideas as "don't do rm -rf then.. " for yourself.
$ rm -rf *
in my $home directory. Now I want to have a "persisting" directory after the above mentioned command. I run few experiments and what I want is to have root directory called data which have uunlink and uappend flags. I want those flags to be inherited by every file and directory created within data. This due the fact that contents of data is deletable. Running $ chflags -R
every time is not acceptable.Apparently regular permissions are not appropriate in this case. ACL too - they appear to be extension of regular permissions.
I'm not interested in third party software. Of course the option of storing data content somewhere else (e.g. /data) is possible but I am looking for solution involving chflags()
P.S. Please keep ideas as "don't do rm -rf then.. " for yourself.