[Fedora-directory-devel] Please review: Bug 213786: upgrade install of ssl enabled servers changes file/dir permisssions from nobody to root
Richard Megginson
rmeggins at redhat.com
Fri Nov 3 17:40:58 UTC 2006
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=213786
Bug(s) fixed: 213786
Bug Description: upgrade install of ssl enabled servers changes file/dir
permisssions from nobody to root
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: The ssloff and sslon operations change several files,
by grep/sed to temp
files, then moving the temp files over the original ones. When done as
root,
this changes the file ownership to root from the original nobody. In
order to
preserve the file/directory ownership, we first figure out the instance,
then
use the ownership of that dse.ldif file to determine the server
user:group. We
have to do this before the call to SSLOff because SSLOff needs the
user:group
to chown the files. Then, every time we create a new file and replace an
existing one, we do a chown $user:$group to preserve the existing file
ownership.
Platforms tested: RHEL4
Flag Day: no
Doc impact: no
QA impact: should be covered by regular nightly and manual testing
New Tests integrated into TET: none
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=140290&action=diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20061103/2c585688/attachment.bin>
More information about the Fedora-directory-devel
mailing list