From owner-freebsd-java Mon Jan 15 17:41:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp1.chello.se (smtp1.chello.se [193.150.195.10]) by hub.freebsd.org (Postfix) with ESMTP id 7F46037B69E for ; Mon, 15 Jan 2001 17:41:19 -0800 (PST) Received: from palle.girgensohn.se ([193.150.249.140]) by smtp1.chello.se (InterMail vK.4.02.00.00 201-232-116 license 13ed6d939a101f33a28aa8ad6d2fac65) with ESMTP id <20010116014040.GIDI5273.smtp1@palle.girgensohn.se>; Tue, 16 Jan 2001 02:40:40 +0100 Received: from partitur.se (localhost [127.0.0.1]) by palle.girgensohn.se (8.11.1/8.11.1) with ESMTP id f0G1fH827678; Tue, 16 Jan 2001 02:41:18 +0100 (CET) (envelope-from girgen@partitur.se) Message-ID: <3A63A6BD.787B4FB5@partitur.se> Date: Tue, 16 Jan 2001 02:41:17 +0100 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: Kuti Zsolt Cc: freebsd-java@freebsd.org Subject: Re: native 1.2 & file permissions References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Kuti Zsolt wrote: > > > Hello! > > > > After build, when installed on a mashine with umask 077 set for normal > > users, the root can use jdk1.2, while a normal user can't. Then I set r,x > > permissions recursively by hand. Now it works for normal users, but it's > > seems not to be a real solution as OpenJIT's build can only be done as > > root and after install can only be used by root. > > Everything is OK on a machine with the default 022 umask. I think the problem is that the port is not *installed* but just tarred from the WRKSRCDIR to the install dir. While this is *much* faster than recursive install, it does not set modes. The distfile is untarred as the build user, with build user's umask... Best way to fix this would be to, in the port, keep the distributed permissions using -p with tar, and chown -R root upon installation. Depends on how well the tarball's persmission are set... /Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message