Opened 11 years ago

Closed 10 years ago

#22376 closed defect (fixed)

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

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

Description (last modified by ryandesign (Ryan 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 11 years ago by jmroot (Joshua Root)

Port: stunnel added

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

Description: modified (diff)

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

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

comment:4 Changed 10 years ago by ryandesign (Ryan 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.