Re: strange permissions when extracting syssrc.tgz
BokLM <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 05 Apr 2003, Perry E. Metzger wrote: > > BokLM <[email protected]> writes: > > 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 ? > > Yes. /usr/src wasn't included in the tar file -- so in order to > extract a directory under it, tar is forced to create the directories > above it with no knowledge of who should own them or what mode they > should be. > > The more interesting question is whether or not tar is ignoring your > umask when creating these directories. What is your umask set to? $ umask 0022 Yes, tar is ignoring it. This might be the recent fix Manuel Bouyer is talking about. Thanks -- BokLM * email : [email protected] * Jabber: [email protected] Jabber sailfutur !