Opened 14 years ago

Closed 13 years ago

#22376 closed defect (fixed)

stunnel: Permissions problem on /opt/local/var/lib/stunnel directory

Reported by: rlh@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: stunnel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

stunnel 4.27 on i686-apple-darwin10.0.0 with OpenSSL 0.9.8k 25 Mar 2009

The default stunnel.conf configuration attempts to start stunnel in a chroot jail at /opt/local/var/lib/stunnel Because the directory is owned by root, it's unable to do so. I've included an example of the default permissions and the correct ones.

The script that installs stunnel flags /opt/local/var/lib/stunnel as

drwxrwx---  3 root  admin  102 Nov  4 21:39 stunnel/

when it really should be

drwxrwx---  3 nobody  admin  102 Nov  4 21:39 stunnel/

I'm not sure if classifying this as a defect is correct, but it's pretty easy to fix in the installation script and will save the end user some headache with getting the application working correctly.

  • Ron

Ciphermonk Research

Change History (4)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Port: stunnel added

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Summary: Permissions problem on /opt/local/var/lib/stunnel directorystunnel: Permissions problem on /opt/local/var/lib/stunnel directory

Directory ownership changed in r73221.

Note: See TracTickets for help on using tickets.