From owner-freebsd-ports@FreeBSD.ORG Fri Jul 3 18:49:33 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6275106568E for ; Fri, 3 Jul 2009 18:49:33 +0000 (UTC) (envelope-from ralf.folkerts@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 1770A8FC23 for ; Fri, 3 Jul 2009 18:49:32 +0000 (UTC) (envelope-from ralf.folkerts@gmx.de) Received: (qmail invoked by alias); 03 Jul 2009 18:49:31 -0000 Received: from dslb-094-218-245-255.pools.arcor-ip.net (EHLO beaster.home.folkerts-net.de) [94.218.245.255] by mail.gmx.net (mp038) with SMTP; 03 Jul 2009 20:49:31 +0200 X-Authenticated: #18511927 X-Provags-ID: V01U2FsdGVkX190WgADFvp0mrXEFzoc+jtVYjgyhI5vgr0xYVgxti jJe+tOPt/Oixgo Message-ID: <4A4E52BB.2070306@gmx.de> Date: Fri, 03 Jul 2009 20:49:31 +0200 From: Ralf Folkerts User-Agent: Thunderbird 2.0.0.22 (X11/20090624) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.46 Subject: Permission of Directories created by ports (wrong) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 18:49:34 -0000 Hi, for quite a while I am having problems with the Permissions of some Directories in /usr/local that are being created by/via installing ports. I searched this ML and the make.conf and ports manpages but w/o success. These directories are being created with Mode 0700. Currently it happened with the Update to NetBeans 6.7 ("portupgrade"d from 6.5): [bash]beaster:local$ls -ld netbeans67/ drwx------ 22 root wheel 1024 3 Jul 19:09 netbeans67/ Before this it was the Virtualbox-Port that created its Directory with 700, too. I think there was another Port but unfortunately can't remember :-( However, this dies not seem to be a global Problem; i.e. OpenOffice 3.1 did install with the correct Permissions (however, I installed openoffice from a packages): [bash]beaster:local$ls -ld openoffice.org-3.1.0/ drwxr-xr-x 4 root wheel 512 27 Jun 11:22 openoffice.org-3.1.0/ But the Directories for Java (1.5., 1.6, OpenJDK) are OK, too - and I didn't install those from packages. This happens when I install using "make install" from the ports' Directory and also when running portupgrade. I usually run portupgrade as "toor" User by logging in to a console-session as toor or by "su - toor". Toor is using "bash". Umask of both toor and root see OK, though: [-su]beaster:~$umask 0022 beaster# umask 22 When creating a Directory in /usr/local as either User it gets created with the correct permissions; this is the toor Users run but the result is the same for root. [-su]beaster:~$mkdir /usr/local/hixelbrixel [-su]beaster:~$ls -ld /usr/local/hixelbrixel/ drwxr-xr-x 2 root wheel 512 Jul 3 20:40 /usr/local/hixelbrixel/ I'm running [-su]beaster:~$uname -irm 7.2-STABLE amd64 GENERIC I built kernel/world FreeBSD 7.2-STABLE #0: Fri Jun 12 19:08:44 CEST 2009 While this is not a problem I could not live with it's rather nasty sometimes and so I'd like to fix. Does anyone have a hint? Did I miss some make.conf Settings? Many thanks in advance! Cheers, _ralf_