[MacPorts] #27933: MacPorts @1.9.2 'port upgrade outdated' fails when archive dir is on NFS FS without root access
#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
#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: closed Priority: Normal | Milestone: MacPorts 2.0.0 Component: base | Version: 1.9.2 Resolution: fixed | Keywords: Port: | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed * milestone: => MacPorts 2.0.0 Comment: There's no separate archive dir as of r77511. -- Ticket URL: <https://trac.macports.org/ticket/27933#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts