pkgsrc-Bugs archive

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

Re: pkg/45836: openjdk7 doesn't build without privileges



The following reply was made to PR pkg/45836; it has been noted by GNATS.

From: Francis GUDIN <fgudin%nerim.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: dfly-pkg-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/45836: openjdk7 doesn't build without privileges
Date: Mon, 16 Jan 2012 22:44:52 +0100

 Hello,
 
 
 David Holland writes:
 
 > The following reply was made to PR pkg/45836; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-pbugs%netbsd.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: pkg/45836: openjdk7 doesn't build without privileges
 > Date: Sun, 15 Jan 2012 15:27:10 +0000
 > 
 >  On Sat, Jan 14, 2012 at 08:35:00PM +0000, fgudin%nerim.net@localhost wrote:
 >   > Hi,
 >   > during extraction of distfiles, both
 >   > bootstrap-jdk7-bin-dragonfly-2.10-i386-20110811.tar.bz2 and
 >   > bootstrap-jdk7-bin-common-20110811.tar.bz2 try to put a file
 >   > bootstrap/LICENSE *with a mode as 444* -> in case of an
 >   > unprivileged build (such as when pbulk'ing), it fails.
 >  
 >  er... why should that fail?
 
 Well, tested with tar on DragonFly:
 
 > touch testfile
 > chmod 444 !$
 chmod 444 testfile
 > tar cvf testthat.tar testfile 
 a testfile
 > rm testfile 
 override r--r--r--  fgudin/fgudin for testfile? y
 > tar xvf testthat.tar 
 x testfile
 > tar xvf testthat.tar
 x testfile: Can't create 'testfile'
 tar: Error exit delayed from previous errors.
 >
 
 I /assume/ that another tar (GNU) would act so ?
 Of course, when root is extracting, it by-passes permissions check, IIUC.
 
 >  
 >   > Sadly, i don't know who creates those archives.
 >  
 >  (me either)
 
 to dfly-pkg-people@: does any of you know ?
 
 Btw: could I be added to this alias ?
 
 Tnx in advance,
 -- 
 Francis GUDIN
 


Home | Main Index | Thread Index | Old Index