[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.
Scott Moser
smoser at ubuntu.com
Mon Apr 28 14:14:21 UTC 2014
This would seem straight forward enough (I thought I could just add '--
xattrs' to both creation and extraction of tar), but that doesn't seem
to look. See the attachment, and its output here, it seems that tar is
losing these.
$ sudo /tmp/xattr-save-ping
$ ls -l /bin/ping
-rwxr-xr-x 1 root root 44168 Mar 15 02:24 /bin/ping
$ attr -l /bin/ping
Attribute "capability" has a 20 byte value for /bin/ping
$ tar -C / --xattrs -Scpf - bin/ping | tar -C $tmpd --xattrs -Sxpf -
$ ( cd $tmpd && attr -l bin/ping )
$ ( cd $tmpd && attr -l ping_rsync )
Attribute "capability" has a 20 byte value for ping_rsync
So, above, it seems like bin/ping that was created by tar did not get
the attr laid down.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1313550
Title:
ping does not work as a normal user on trusty tarball cloud images.
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1313550/+subscriptions
More information about the Ubuntu-server-bugs
mailing list