Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12187 closed enhancement (fixed)

Update user guide to mention permission issues in Quick Start

Reported by: lambda@… Owned by: jmpalacios (Juan Manuel Palacios)
Priority: High Milestone:
Component: guide Version:
Keywords: Cc: jmpalacios (Juan Manuel Palacios)
Port:

Description

If you just follow along the instructions in the Quick Start section of the user guide, commands will fail, as they attempt to download to ${prefix}/var/db/dports/distfiles and build in ${prefix}/var/db/dports/build. Two possible solutions are to just run everything as sudo (which is potentially dangerous), or to chown those directories to your user (or otherwise give your user permission to write to them, for example chmod'ing them 775). I've created a patch that mentions these two possibilities.

Attachments (1)

guide-quick-chown.patch (1.6 KB) - added by lambda@… 17 years ago.
Description of how to deal with permission issues

Download all attachments as: .zip

Change History (4)

Changed 17 years ago by lambda@…

Attachment: guide-quick-chown.patch added

Description of how to deal with permission issues

comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Resolution: fixed
Status: newclosed
Type: defectcontribution

Committed in r26521 with some minor changes (mostly referencing paths that are used in MacPorts 1.5, unreleased still): ${prefix}/var/macports/* should be documented rather than ${prefix}/var/db/dports/*, as the former will become the new standard place where MacPorts works (and since the guide aint live just yet... I figure it doesn't hurt to start using the new conventions there).

Thanks for the patch, keep 'em coming!

-jmpp

comment:2 Changed 17 years ago by nox@…

Priority: ImportantHigh
Type: contributionenhancement
Version: 1.5

comment:3 Changed 16 years ago by (none)

Milestone: Website & Documentation

Milestone Website & Documentation deleted

Note: See TracTickets for help on using tickets.