Opened 15 years ago
Closed 15 years ago
#20957 closed defect (fixed)
Overzealous warnings about running without root privileges
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.8.0 |
Keywords: | Cc: | ||
Port: |
Description
MacPorts 1.8.0 prints too many warnings when running without root privileges:
$ port install zlib MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Computing dependencies for zlib MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Fetching zlib MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Verifying checksum(s) for zlib MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Extracting zlib MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Applying patches to zlib MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Configuring zlib MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Building zlib MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Staging zlib into destroot MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Installing zlib @1.2.3_2 Error: Target org.macports.install returned: could not set attributes of "/mp/var/macports/software/zlib/1.2.3_2/mp/share/man/man3/zlib.3.gz": permission denied Error: Status 1 encountered during processing. $
Ignoring for a moment the permission error in the install phase, which is filed as #20887, MacPorts has warned about running "without privileges" before every phase. I would like to see a maximum of one such warning per port, or perhaps just one warning per invocation of the port command, or perhaps even no warning at all. I run my MacPorts prefix under my own username and do not use root privileges unless installing something that needs them, for example when installing a port that has a launchd plist.
Change History (2)
comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | Overzealous warnings about → Overzealous warnings about running without root privileges |
---|
comment:2 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
r59833