Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2021 03:47:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259521] net/rsync system extended attributes are not copied
Message-ID:  <bug-259521-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259521

            Bug ID: 259521
           Summary: net/rsync system extended attributes are not copied
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)
          Assignee: rodrigo@FreeBSD.org

rsync only copies extended attributes for the user namespace.  It does not =
copy
system namespace attributes as alluded, in the man page.=20=20

touch file
setextattr user finger bun file
setextattr system vanilla slice file
rsync -aXv file /tmp/
lsextattr user /tmp/file    # ok
lsextattr system /tmp/file  # Empty hunger

I appreciate that this would be non-trivial to fix, particularly as Linux a=
lso
has trusted and security namespaces.  May I suggest that the rsync man page
explicitly references USER namespace under the -X option, would be sufficie=
nt?

/bin/cp doesn't copy any namespace, which is consistent with the manual. :-/

Fortunately tar does preserve both system and user namespaces.  :>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259521-7788>