Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 144173 Details for
Bug 210938
dev-db/postgresql - disable strict permission check on ssl key files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
07-relax-sslkey-permscheck.patch
07-relax-sslkey-permscheck.patch (text/plain), 764 bytes, created by
Ruben Jenster
on 2008-02-21 03:17:15 UTC
(
hide
)
Description:
07-relax-sslkey-permscheck.patch
Filename:
MIME Type:
Creator:
Ruben Jenster
Created:
2008-02-21 03:17:15 UTC
Size:
764 bytes
patch
obsolete
>diff -ur postgresql-8.0.15.orig/src/backend/libpq/be-secure.c postgresql-8.0.15/src/backend/libpq/be-secure.c >--- postgresql-8.0.15.orig/src/backend/libpq/be-secure.c 2008-02-21 04:06:04.334289203 +0100 >+++ postgresql-8.0.15/src/backend/libpq/be-secure.c 2008-02-21 04:08:47.309426324 +0100 >@@ -737,8 +737,8 @@ > * data directory permission check in postmaster.c) > */ > #if !defined(WIN32) && !defined(__CYGWIN__) >- if (!S_ISREG(buf.st_mode) || (buf.st_mode & (S_IRWXG | S_IRWXO)) || >- buf.st_uid != geteuid()) >+ if (!S_ISREG(buf.st_mode) || (buf.st_mode & (S_IWGRP | S_IRWXO)) || >+ (buf.st_uid != geteuid()) && buf.st_uid != 0) > ereport(FATAL, > (errcode(ERRCODE_CONFIG_FILE_ERROR), > errmsg("unsafe permissions on private key file \"%s\"",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 210938
: 144173 |
144175