summaryrefslogtreecommitdiffstats
path: root/lib/libaccess/oneeval.cpp
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2006-11-03 19:09:57 +0000
committerRich Megginson <rmeggins@redhat.com>2006-11-03 19:09:57 +0000
commitb6c1f13f8ece15bf4a64c8985a5ae6f3bab14f4d (patch)
tree8241e1fdb8c5a732a61278d195e79cdc4a6eab7e /lib/libaccess/oneeval.cpp
parent4b82475ae55f3d4fae366d37b803211d70fca848 (diff)
downloadds-b6c1f13f8ece15bf4a64c8985a5ae6f3bab14f4d.tar.gz
ds-b6c1f13f8ece15bf4a64c8985a5ae6f3bab14f4d.tar.xz
ds-b6c1f13f8ece15bf4a64c8985a5ae6f3bab14f4d.zip
Bug(s) fixed: 213786
Bug Description: upgrade install of ssl enabled servers changes file/dir permisssions from nobody to root Reviewed by: nhosoi (Thanks!) 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
Diffstat (limited to 'lib/libaccess/oneeval.cpp')
0 files changed, 0 insertions, 0 deletions