[suggestion]: avoiding portupgrade failure to upgrade/installing ports when home is on automounted directory..

hv hv at tuebingen.mpg.de
Mon Sep 21 10:50:52 UTC 2009


Hi,

Preferring to install/upgrade as a normal user w/ sudo, it is,  
probably not a real bug, but  annoying, that portupgrade fails on  
*some* ports mysteriously like this:

..
! shells/bash (bash-4.0.24)     (Permission denied - /.amd_mnt/kaa/ 
host/home/hv)
..
As you see, my Homedir ist automounted via NFS. If i change beforehand  
to a local writable directory (like /tmp) the same command succeeds  
(with an also annoying warnig:
/usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:1148: warning: Insecure  
world writable dir /tmp/. in PATH, mode 041777

Why not allow installing with sudo, even if located on a remote  
Homedir ?
If root (who is nobody on the remote filesystem and therefore no  
allowed to access it (permissions 700) wants to put some temporary  
status info, why not implicitly put it into some local dir (eg. root's  
home) ?


Regards

--
Henry Vogt <hv at tuebingen.mpg.de> (Fon: ++49-7071-601-511, Fax: -826)
Campus Max-Planck-Institute, Spemannstr. 32-41, Tübingen, Germany






More information about the freebsd-ruby mailing list