[MacPorts] #68596: After installing Nginx, I can't shut down Redis (also installed by port) because the error "Failed opening the temp RDB file temp-8712.rdb (in server root dir /opt/local/var/log/nginx) for saving: Permission denied"

MacPorts noreply at macports.org
Tue Oct 31 10:12:10 UTC 2023


#68596: After installing Nginx, I can't shut down Redis (also installed by port)
because the error "Failed opening the temp RDB file temp-8712.rdb (in
server root dir /opt/local/var/log/nginx) for saving: Permission denied"
--------------------------+-------------------------
  Reporter:  qiulang      |      Owner:  Schamschula
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  nginx redis  |
--------------------------+-------------------------

Comment (by Schamschula):

 You can change the user in {{{nginx.conf}}}. The upstream default is
 {{{root}}}, as it is on my FreeBSD servers.

 Look for {{{#user  nobody;}}} near the top of the file. Change it as
 needed.

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


More information about the macports-tickets mailing list