[MacPorts] #22376: Permissions problem on /opt/local/var/lib/stunnel directory

MacPorts noreply at macports.org
Sat Nov 6 18:56:09 PDT 2010


#22376: Permissions problem on /opt/local/var/lib/stunnel directory
--------------------------------+-------------------------------------------
 Reporter:  rlh@…               |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.1                                
 Keywords:                      |        Port:  stunnel                              
--------------------------------+-------------------------------------------
Description changed by ryandesign@…:

Old description:

> 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

New description:

 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 [[br]]
 Ciphermonk Research

--

-- 
Ticket URL: <https://trac.macports.org/ticket/22376#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list