This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bug found with c_rehash and workaround


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]