From owner-freebsd-ruby@FreeBSD.ORG Mon Sep 21 10:50:52 2009 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6A211065676 for ; Mon, 21 Sep 2009 10:50:52 +0000 (UTC) (envelope-from hv@tuebingen.mpg.de) Received: from mailgw2.tuebingen.mpg.de (mailgw2.tuebingen.mpg.de [192.124.27.7]) by mx1.freebsd.org (Postfix) with ESMTP id 4E3308FC12 for ; Mon, 21 Sep 2009 10:50:51 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,424,1249250400"; d="scan'208";a="1040731" Received: from cmh.local (HELO tuebingen.mpg.de) ([10.3.6.123]) by mailgate2.local with ESMTP; 21 Sep 2009 12:21:09 +0200 Received: from adminx.local (account henry.vogt [10.3.7.25] verified) by tuebingen.mpg.de (CommuniGate Pro SMTP 5.2.8) with ESMTPSA id 8843344 for ruby@FreeBSD.org; Mon, 21 Sep 2009 12:21:09 +0200 From: hv Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Date: Mon, 21 Sep 2009 12:21:09 +0200 Message-Id: <27C0279D-3305-474A-B41F-BF0FCF173350@tuebingen.mpg.de> To: ruby@FreeBSD.org Mime-Version: 1.0 (Apple Message framework v1076) X-Mailer: Apple Mail (2.1076) Cc: Subject: [suggestion]: avoiding portupgrade failure to upgrade/installing ports when home is on automounted directory.. X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 10:50:52 -0000 Hi, Preferring to install/upgrade as a normal user w/ sudo, it is, =20 probably not a real bug, but annoying, that portupgrade fails on =20 *some* ports mysteriously like this: .. ! shells/bash (bash-4.0.24) (Permission denied - /.amd_mnt/kaa/=20 host/home/hv) .. As you see, my Homedir ist automounted via NFS. If i change beforehand =20= to a local writable directory (like /tmp) the same command succeeds =20 (with an also annoying warnig: /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:1148: warning: Insecure =20= world writable dir /tmp/. in PATH, mode 041777 Why not allow installing with sudo, even if located on a remote =20 Homedir ? If root (who is nobody on the remote filesystem and therefore no =20 allowed to access it (permissions 700) wants to put some temporary =20 status info, why not implicitly put it into some local dir (eg. root's =20= home) ? Regards -- Henry Vogt (Fon: ++49-7071-601-511, Fax: -826) Campus Max-Planck-Institute, Spemannstr. 32-41, T=FCbingen, Germany