Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2015 13:59:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 196929] ar: fatal: Numeric user ID too large
Message-ID:  <bug-196929-8-ltbrXucgAI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196929-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196929-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196929

--- Comment #2 from napetrov <nikolay.a.petrov@intel.com> ---
GNU ar just store first 6 characters with no errors:

[root@BSD ~]# echo 123 > tst.txt
[root@BSD ~]# chown napetrov tst.txt
[root@BSD ~]# ls -anl tst.txt
-rw-r--r--  1 11299695  0  4 Dec 10 14:15 tst.txt
[root@BSD ~]# /usr/local/bin/ar -rc test.a tst.txt
[root@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@BSD ~]# strings test.a
!<arch>
tst.txt/        1418195726  1129960     100644  4         `
[root@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.



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