clean needs root at all times

Joshua Root jmr at macports.org
Wed Jul 13 02:55:26 PDT 2011


On 2011-7-13 09:30 , Bryan Blackburn wrote:
> As of r79649:
> 
> <http://trac.macports.org/changeset/79649>
> 
> a 'port clean' always needs to run as root.  If the alt workpath is in
> effect (~/.macports), shouldn't that negate the need for root?  So then
> clean_start should be checking $usealtworkpath first, right (just like in
> clean_main)?

Good point. I think just removing the [file writable $prefix] check will
do the trick.

- Josh


More information about the macports-dev mailing list