Opened 8 weeks ago
Last modified 8 weeks ago
#70938 new defect
macports-base does change the default users home path in some cases — at Initial Version
Reported by: | christophecvr (christophecvr) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.10.99 |
Keywords: | Cc: | ||
Port: |
Description
I was creating a extra macports location in /opt. with command :
export PATH=/bin:/sbin:/usr/bin:/usr/sbin MP_PREFIX=/opt/geditb ./configure --prefix=$MP_PREFIX --with-applications-dir=/Applications/Geditb --with-macports-user=christophe --without-startupitems --with-shared-directory --enable-readline make sudo make install
after installation sudden browser crashed (firefox) and other programs. Could not do anything anymore.
Restarted my mac and it opened with initial setup screen.
In finder I could not find my paths anymore woow ! (yes a little panic)
At the end I found the issue :
My home path was changed from :
/Users/<me>
to :
/opt/geditb/var/macports/home
This caused by the use of arg:
--with-macports-user=christophe
This arg is supposed to just change the user macports into another for the non root build phases.
according to configure manual.
--with-no-root-privileges specify that MacPorts should be installed in your home directory --with-install-user=USER specify user ownership of installed files --with-install-group=GROUP specify group ownership of installed files --with-macports-user=USER specify user to drop privileges to, if possible, during compiles, etc.
Well this was a very unpleasant surprise I can tell.
Note: See
TracTickets for help on using
tickets.