Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am seeing this error in my error logs when I attempt to upload a file using webDAV to a folder:
Mon Dec 28 10:32:01 2009] [error] [client 163.153.xxx.xxx] The locks could not be queried for verification against a possible "If:" header. [500, #0]
[Mon Dec 28 10:32:01 2009] [error] [client 163.153.xxx.xxx] Could not open the lock database. [500, #400]
[Mon Dec 28 10:32:01 2009] [error] [client 163.153.xxx.xxx] (13)Permission denied: Could not open property database. [500, #1]
I noticed that my attempted upload did not write anything to the DAV directory (which I believe is what this error is referring to). The DAV directory is writable by the apache service. Can anyone shed some light on this? This is a SLES 10 server. Thanks.
Last edited by chickenminnie; 12-28-2009 at 12:17 PM.
Addendum to my answer to rweaver: I am seeing a reference to suexec in the apache logs. I happened to notice this after restarting apache: suexec mechanism enabled (wrapper: /usr/sbin/suexec2. Could that be imposing some sort of file restrictions I am unaware of? Thanks.
For rweaver: I did a find on anything related to suexec that would be a log file, but turned up nothing. Shouldn't it be logging something if it's running?
For allanf: Apache is running as wwwrun (user) www (group).
I use apache (and have for a long time) but i do not use WEBDAV. Seeing this information it says that apache is indeed
username: wwwrun
group: www
Given that and your permissions above, I would:
chgrp www DAV
which will change the owning group for DAV to be that of the the running apache server. The internals directories you show are already owned by username, wwwrun, and group, www.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.