delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/28/04:06:35

X-Spam-Check-By: sourceware.org
X-Squirrel-UserHash: c3wyGAAN
X-Squirrel-FromHash: AQdWDl8GC34=
Message-ID: <52155.AQdWDl8GC34=.1180339509.squirrel@webmail.no-log.org>
Date: Mon, 28 May 2007 10:05:09 +0200 (CEST)
Subject: bug found with c_rehash and workaround
From: GNUtoo AT no-log DOT org
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.6
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

c_rehash is a program needed for making openssl certificates and is part
of the openssl program:
an example of use is here:http://www.stunnel.org/examples/client_cert.html
c_rehash is a perl script
it contain the following lines
if(! -x $openssl) {
if(-x "$_/$openssl.exe") {
this check for openssl beeing executable and if it's not it produce a
warning and exit:
print STDERR "c_rehash: rehashing skipped ('openssl' program not
available)\n";
here's the bug:
by default openssl has the following permissions:
-rwx------+ 1 the_user_of_the_computer Users 354304 Mar 29 12:17
/usr/bin/openssl

and Administrator is in the following groups:
$groups
Nessuno root Administrators Users PasswordPropDeny

but c_rehash produce the following error:
c_rehash: rehashing skipped ('openssl' program not available)

the solution is to make c_rehash wordly executable...

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019