Bug 338471 - Wrong Permissions on dav DAVLockDB Subdirectory
Summary: Wrong Permissions on dav DAVLockDB Subdirectory
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: httpd
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-18 17:31 UTC by Richi Plana
Modified: 2008-01-24 15:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-24 15:29:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Richi Plana 2007-10-18 17:31:22 UTC
Description of problem:
The httpd daemon's DAV module cannot initialize its lock database because the
group permissions on the subdirectory (/var/lib/dav/) restricts it from doing
so. In a default install, the permissions are as follows:

drwx------  2 root apache /var/lib/dav/

Version-Release number of selected component (if applicable):
httpd-2.2.6-1.fc7

Additional info:

Perhaps a permissions configuration in the spec file is the right fix

Comment 1 Joe Orton 2007-10-22 10:11:13 UTC
It's specified as "apache.apache" in the spec file, so it shouldn't be owned by
root.  Was this an upgrade, fresh install, anaconda, yum? Any errors in
/root/install.log or /root/upgrade.log?

Comment 2 Richi Plana 2007-10-22 14:01:42 UTC
The Fedora 7 system referred to was a fresh install with updates applied
throughout the months. So it's hard to say what happened to the ownership and
the permissions. I've not audit logs that can tell for sure. I only found out
about it since I activated mod_dav for the first time when I reported the bug.

I guess it's NOTABUG with this version.

Comment 3 Joe Orton 2008-01-24 15:29:16 UTC
Closing out lacking a repro case.  Perhaps some transient "adduser" failure.


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