#3621: Unable to install to dir without using sudo, on OSX >= 10.4
------------------------+---------------------------------------------------
 Reporter:  balderdash  |       Owner:  mutt-dev
     Type:  defect      |      Status:  new     
 Priority:  major       |   Milestone:          
Component:  mutt        |     Version:          
 Keywords:              |  
------------------------+---------------------------------------------------
 I have my ownership for /usr/local set to not require sudo-ing.  My normal
 username is the owner, and the group is 'staff'.  In other words, the
 default perms for a new dir one makes in OSX 10.5 and up. When I build
 mutt and do 'make install' (where the prefix is /usr/local), I get this
 nonsense:

 if test -f /usr/local/bin/mutt_dotlock && test xmail != x ; then \
                 chgrp mail /usr/local/bin/mutt_dotlock && \
                 chmod 2755 /usr/local/bin/mutt_dotlock || \
                 { echo "Can't fix mutt_dotlock's permissions!" >&2 ; exit
 1 ; } \
         fi
 chgrp: you are not a member of group mail
 Can't fix mutt_dotlock's permissions!
 make[4]: *** [install-exec-hook] Error 1
 make[3]: *** [install-exec-am] Error 2
 make[2]: *** [install-am] Error 2
 make[1]: *** [install-recursive] Error 1
 make: *** [install] Error 2

 This is true for any prefix dir you might pick, so long as you don't use
 sudo.  It happens on OSX 10.4 and higher, same error every time.

 Using Homebrew pretty much requires that /usr/local be sudo-free.  But
 even that aside, I think mutt should allow installing to an arbitrary
 prefix (especially, e.g., one in one's own $HOME) without using sudo.

 I don't know much about groups re this issue, so I can't offer a patch.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3621>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to