[MacPorts] #27933: MacPorts @1.9.2 'port upgrade outdated' fails when archive dir is on NFS FS without root access
MacPorts
noreply at macports.org
Wed Jan 12 06:38:50 PST 2011
#27933: MacPorts @1.9.2 'port upgrade outdated' fails when archive dir is on NFS FS
without root access
---------------------------------+------------------------------------------
Reporter: fred@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 1.9.2
Keywords: | Port:
---------------------------------+------------------------------------------
I have an archive dir on a Linux NFS volume exported with option
root_squash, so UID/GID 0,0 is mapped to anonymous. The dir is writable by
root from the mac. Installation went fine, all archives were saved in this
directory until now.
The problem:
{{{
# port upgrade outdated
Error: Target org.macports.archivefetch returned: lchown:
/users/root/OSX/macports/packages/darwin/universal: not owner
Log for ncursesw is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/main.log
Error: Unable to upgrade port: 1
}}}
Explanation: root from the mac is not allowed to chown/lchown directories
on this FS (normal Unix/Linux behavior)
Question: Is this lchown necessary?
Workaround: I moved the archive to a local FS.
--
Ticket URL: <https://trac.macports.org/ticket/27933>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list