[Bug 196929] ar: fatal: Numeric user ID too large
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 21 13:59:14 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196929
--- Comment #2 from napetrov <nikolay.a.petrov at intel.com> ---
GNU ar just store first 6 characters with no errors:
[root at BSD ~]# echo 123 > tst.txt
[root at BSD ~]# chown napetrov tst.txt
[root at BSD ~]# ls -anl tst.txt
-rw-r--r-- 1 11299695 0 4 Dec 10 14:15 tst.txt
[root at BSD ~]# /usr/local/bin/ar -rc test.a tst.txt
[root at BSD ~]# /usr/local/bin/ar -V
GNU ar (GNU Binutils) 2.25
Copyright (C) 2014 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
[root at BSD ~]# strings test.a
!<arch>
tst.txt/ 1418195726 1129960 100644 4 `
[root at BSD ~]# cat test.a | od -c
0000000 ! < a r c h > \n t s t . t x t /
0000020 1 4 1 8 1 9 5 7
0000040 2 6 1 1 2 9 9 6 0
0000060 1 0 0 6 4 4 4
0000100 ` \n 1 2 3 \n
0000110
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list