Subject: strange permissions when extracting syssrc.tgz
To: None <tech-misc@netbsd.org>
From: BokLM <boklm@mars-attacks.org>
List: tech-misc
Date: 04/05/2003 04:21:36
--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I downloaded syssrc.tgz at this address:
ftp://ftp.proxad.net/NetBSD/NetBSD-1.6/source/sets/syssrc.tgz

But when I extract it, it creates me /usr/src with mode 777.
Is there a reason for this ?

Example:
root@chunk /tmp/tmp $ ls -l
total 45120
-rw-r--r--  1 root  wheel  23075542 Apr  5 04:07 syssrc.tgz
root@chunk /tmp/tmp $ umask=20
0022
root@chunk /tmp/tmp $ tar xvzpf syssrc.tgz=20
usr/src/sys
usr/src/sys/CVS
usr/src/sys/CVS/Entries
usr/src/sys/CVS/Repository
usr/src/sys/CVS/Root
usr/src/sys/CVS/Tag
usr/src/sys/Makefile
usr/src/sys/adosfs
usr/src/sys/adosfs/CVS
usr/src/sys/adosfs/CVS/Entries
usr/src/sys/adosfs/CVS/Repository
usr/src/sys/adosfs/CVS/Root
usr/src/sys/adosfs/CVS/Tag
^C
root@chunk /tmp/tmp $ ls -l
total 45122
-rw-r--r--  1 root  wheel  23075542 Apr  5 04:07 syssrc.tgz
drwxrwxrwx  3 root  wheel       512 Apr  5 04:08 usr
root@chunk /tmp/tmp $ ls -l usr/
total 2
drwxrwxrwx  3 root  wheel  512 Apr  5 04:08 src
root@chunk /tmp/tmp $=20

--=20
BokLM
* email : boklm@mars-attacks.org
* Jabber: boklm@jabber.org           Jabber sailfutur !

--Qxx1br4bt0+wmkIi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (OpenBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE+jj2vEqA3CCyMPBERAm7jAJ9puwhoIvKCJ07btp8iuLMVJic5mgCfWy98
g/oiFxoROJIsXBVnGAjd+/c=
=d+Yf
-----END PGP SIGNATURE-----

--Qxx1br4bt0+wmkIi--