tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "error: ... : world-writable file."



> On 20 Aug 2019, at 21:47, Hauke Fath <hf%spg.tu-darmstadt.de@localhost> wrote:
> 
> On Tue, 20 Aug 2019 19:09:24 +0200, Roland Illig wrote:
>> Am 20.08.2019 um 16:20 schrieb Hauke Fath:
>>> while the package builds fine (permissions correct) on netbsd-9. The
>>> source tarball has several files with '0666' (built on a Mac? Wintel?).
>>> 
>>> What does NetBSD pkgsrc apply that the Illumos one is missing?
>> 
>> The umask.
>> 
>> I tried both NetBSD tar and GNU tar, and they both applied the umask to
>> the extracted files.
> 
> Ah. So all I have is a case of SunOS, erm, "traditional userland"?
> 
> OTOH, mk/tools/tools.SunOS has
> 
> .if exists(/usr/bin/gtar)
> TOOLS_PLATFORM.gtar?=           /usr/bin/gtar
> TOOLS_PLATFORM.tar?=            /usr/bin/gtar
> .elif exists(/usr/sfw/bin/gtar)
> TOOLS_PLATFORM.gtar?=           /usr/sfw/bin/gtar
> TOOLS_PLATFORM.tar?=            /usr/sfw/bin/gtar
> .endif
> 
> where on omnios neither of the paths has a "gtar". There is 
> /usr/sbin/tar. And there is /usr/gnu/bin, but it doesn't have a tar 
> either.


Install archiver/gnu-tar maybe?

otis



Home | Main Index | Thread Index | Old Index