misc/120724: tar not restore (or not save) ACL

Alex Keda admin at lissyara.su
Fri Feb 15 22:40:03 UTC 2008


>Number:         120724
>Category:       misc
>Synopsis:       tar not restore (or not save) ACL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 15 22:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alex Keda
>Release:        6.2
>Organization:
USSR
>Environment:
FreeBSD xxi.moskb.local 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386

>Description:
tar not restore or not save ACL when create/restore archive...
>How-To-Repeat:
xxi# mkdir test_dir
xxi# setfacl -m u:lissyara:rwx test_dir
xxi# setfacl -m u:akeda:rwx test_dir
xxi# setfacl -m u:mroshin:rwx test_dir
xxi# setfacl -m g:bank:rwx test_dir
xxi# getfacl test_dir
#file:test_dir
#owner:0
#group:10002
user::rwx
user:lissyara:rwx
user:akeda:rwx
user:mroshin:rwx
user:vshvachy:rwx
group::---
group:bank:rwx
mask::rwx
other::---
xxi# ll
total 4
drwxrwx---+ 2 root  domain users   512B 16 фев 01:14 test_dir
xxi#

xxi# tar --create --file=- test_dir | (cd ../extract/; tar -epf - )

xxi# getfacl ../extract/test_dir
#file:../extract/test_dir
#owner:0
#group:10002
user::rwx
user:vshvachy:rwx
group::---
mask::rwx
other::---
xxi# ll
total 4
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list