Bug 676729 - server log files have incorrect permissions/ownerships
Summary: server log files have incorrect permissions/ownerships
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: 389-ds-base
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Noriko Hosoi
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On: 604881
Blocks: 639035 389_1.2.8 676871
TreeView+ depends on / blocked
 
Reported: 2011-02-10 23:26 UTC by Noriko Hosoi
Modified: 2015-01-04 23:46 UTC (History)
4 users (show)

Fixed In Version: 389-ds-base-1.2.8-0.3.a3.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 604881
Environment:
Last Closed: 2011-05-19 12:41:32 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0533 normal SHIPPED_LIVE new package: 389-ds-base 2011-05-18 17:57:44 UTC

Description Noriko Hosoi 2011-02-10 23:26:08 UTC
Description of problem:
Cloning Bug 604881 - server log files have incorrect permissions/ownerships

Comment 1 Noriko Hosoi 2011-02-10 23:29:06 UTC
The patch for this has been pushed to the 389-ds-base-1.2.8 branch.

$ git cherry-pick 513e5a83ff806e9dcfa9b32287e2ce7b6ff95ddf
Finished one cherry-pick.
[ds128-local 96bb64a] Bug 604881 - admin server log files have incorrect
permissions/ownerships
 1 files changed, 6 insertions(+), 6 deletions(-)
$ git push origin ds128-local:389-ds-base-1.2.8
Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 884 bytes, done.
Total 6 (delta 4), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
   ceec7ba..96bb64a  ds128-local -> 389-ds-base-1.2.8

Comment 4 Amita Sharma 2011-04-25 06:20:49 UTC
Hi,

I have tested this bug :

Steps:
1. cd /var/log/dirsrv/slapd-amitesthost
2. [root@amitesthost slapd-amitesthost]# ls -alrt
total 32
drwxr-xr-x. 3 root   root   4096 Apr 13 10:55 ..
-rw-------. 1 nobody nobody   63 Apr 13 10:55 errors.rotationinfo
-rw-------. 1 nobody nobody   63 Apr 13 10:55 audit.rotationinfo
-rw-------. 1 nobody nobody    0 Apr 13 10:55 audit
-rw-------. 1 nobody nobody   63 Apr 13 10:55 access.rotationinfo
-rw-------. 1 nobody nobody 1853 Apr 13 18:33 errors
drwxrwx---. 2 nobody nobody 4096 Apr 13 19:09 .
-rw-------. 1 nobody nobody 5996 Apr 13 19:35 access
3.chown root:root errors access
[root@amitesthost slapd-amitesthost]# ls -alrt
total 32
drwxr-xr-x. 3 root   root   4096 Apr 13 10:55 ..
-rw-------. 1 nobody nobody   63 Apr 13 10:55 errors.rotationinfo
-rw-------. 1 nobody nobody   63 Apr 13 10:55 audit.rotationinfo
-rw-------. 1 nobody nobody    0 Apr 13 10:55 audit
-rw-------. 1 nobody nobody   63 Apr 13 10:55 access.rotationinfo
drwxrwx---. 2 root   root   4096 Apr 13 19:09 .
-rw-------. 1 root   root   5996 Apr 13 19:35 access
-rw-------. 1 root   root   2507 Apr 14 18:35 errors
4. service dirsrv restart
5. [root@amitesthost slapd-amitesthost]# ls -alrt
total 32
drwxr-xr-x. 3 root   root   4096 Apr 13 10:55 ..
-rw-------. 1 nobody nobody   63 Apr 13 10:55 errors.rotationinfo
-rw-------. 1 nobody nobody   63 Apr 13 10:55 audit.rotationinfo
-rw-------. 1 nobody nobody    0 Apr 13 10:55 audit
-rw-------. 1 nobody nobody   63 Apr 13 10:55 access.rotationinfo
drwxrwx---. 2 root   root   4096 Apr 13 19:09 .
-rw-------. 1 nobody nobody 5996 Apr 13 19:35 access
-rw-------. 1 nobody nobody 3161 Apr 14 19:01 errors

Test passed, Marking it as verified.

- Amita

Comment 5 errata-xmlrpc 2011-05-19 12:41:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0533.html


Note You need to log in before you can comment on or make changes to this bug.