Re: [MacPorts] #24180: postgres: Incorrect home directory created

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #24180: postgres: Incorrect home directory created

MacPorts
#24180: postgres: Incorrect home directory created
-------------------------------------------------+-------------------------
  Reporter:  dgonzalez@…                         |      Owner:
                                                 |  jyrkiwahlstedt
      Type:  defect                              |     Status:  closed
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  1.8.2
Resolution:  fixed                               |   Keywords:
      Port:  postgresql84 postgresql84-server    |
  mysql5-server                                  |
-------------------------------------------------+-------------------------
Changes (by jyrkiwahlstedt):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 Currently the user created is always postgres. The real name visible at
 times may differ, but the user doesn't change. The user directory also
 stays.

--
Ticket URL: <https://trac.macports.org/ticket/24180#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #24180: postgres: Incorrect home directory created

MacPorts
#24180: postgres: Incorrect home directory created
-------------------------------------------------+-------------------------
  Reporter:  dgonzalez@…                         |      Owner:
                                                 |  jyrkiwahlstedt
      Type:  defect                              |     Status:  reopened
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  1.8.2
Resolution:                                      |   Keywords:
      Port:  postgresql84 postgresql84-server    |
  mysql5-server                                  |
-------------------------------------------------+-------------------------
Changes (by ryandesign):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 This is still an issue. The home directory of the postgres user is based
 on the name of the first postgresql*-server port the user (or build
 server!) installed. For example on my system I don't have the
 postgresql92-server port installed anymore, but I still have:

 {{{
 $ dscl . -read /Users/postgres NFSHomeDirectory
 NFSHomeDirectory: /opt/local/var/db/postgresql92
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/24180#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS