[rescue] Block size and the single DD

Caleb Shay caleb at webninja.com
Wed Feb 11 17:21:52 CST 2004


On 2004-02-11 12:47:46 -0500 Kevin Loch <kloch at gurunet.net> wrote:

> Mike Meredith wrote:
>> Plenty. GNU tar doesn't backup filesystems (which isn't just the 
>> files)
> 
> And many times that is a feature.  But I'm still curious what "acl's"
> gnu tar doesnt save?  It stores uid, gid, permissions, atime, mtime
> and ctime.  Am I missing something?

True per user/group acl's as achieved via getfacl/setfacl

example:


caleb at chinstrap> touch foo
caleb at chinstrap> getfacl foo
# file: foo
# owner: caleb
# group: users
user::rw-
group::r--
other::r--

caleb at chinstrap> setfacl -m mysql:w foo
caleb at chinstrap> getfacl foo
# file: foo
# owner: caleb
# group: users
user::rw-
user:mysql:-w-
group::r--
mask::rw-
other::r--

caleb at chinstrap> tar cvpf test.tar foo
foo
caleb at chinstrap> rm foo
caleb at chinstrap> tar xpvf test.tar
foo
caleb at chinstrap> getfacl foo
# file: foo
# owner: caleb
# group: users
user::rw-
group::rw-
other::r--

Cheers,

Caleb



More information about the rescue mailing list