[MacPorts] #13547: Bison 2.3.1 fails without sudo rights
#13547: Bison 2.3.1 fails without sudo rights --------------------------------+------------------------------------------- Reporter: simon@macports.org | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Keywords: | --------------------------------+------------------------------------------- Hi, I just tried upgrading bison to 2.3.1 and got an access denied error. I'm using macports without sudo and most of the time it works fine. The problem is that the directory settings in post-destroot are too strict and don't give the current user write access. Here is a patch which should change this and works fine for me. {{{ --- Portfile (revision 31841) +++ Portfile (working copy) @@ -33,7 +33,7 @@ post-destroot { set docdir ${prefix}/share/doc/${name} - xinstall -d -m 0555 ${destroot}${docdir} + xinstall -d -m 0755 ${destroot}${docdir} xinstall -m 0444 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \ THANKS TODO ${destroot}${docdir} } }}} Thanks for your help, Simon PS: I tried sending you this as email but got an error from the Apple Mail Server. {{{ 550 <mmw@macports.org>: Recipient address rejected: User unknown in virtual alias table (in reply to RCPT TO command) }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13547> MacPorts </projects/macports> Ports system for Mac OS
#13547: Bison 2.3.1 fails without sudo rights ---------------------------------+------------------------------------------ Reporter: simon@macports.org | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by simon@macports.org): * cc: mmw@macports.org (removed) * cc: mww@macports.org (added) Comment: Ignore the email part, I used to wrong email :-/. Thanks to Maun Suang Boey for noticing this. I corrected the CC. Simon -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13547#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13547: Bison 2.3.1 fails without sudo rights ---------------------------------+------------------------------------------ Reporter: simon@macports.org | Owner: mww@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: bison permissions ---------------------------------+------------------------------------------ Changes (by mww@macports.org): * keywords: => bison permissions * status: new => closed * resolution: => fixed Comment: thanks, fixed! -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13547#comment:2> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts