DavLock Errors when saving from Word to WebDAV

Alles, was den Apache betrifft, kann hier besprochen werden.

DavLock Errors when saving from Word to WebDAV

Postby floridafreedivers » 21. February 2019 13:25

I setup WebDAV on Ubuntu using apache2 and the mods dav, dav_fs and dav_lock.

Connecting to WebDAV folders works fine, from both Windows and Linux clients. Even creating (writing) and modifying documents is possible.

Then only problem is when I try to save documents from Word. Word first creates the file on the server, but then following error appears:
Apache error.log:

Code: Select all
Could not DELETE /pinakos/admin/66AEE86C.tmp due to a failed precondition (e.g. locks). [423, #0]
This resource is locked and an "If:" header was not supplied to allow access to the resource. [423, #0]
Could not MOVE /pinakos/admin/6A71E678.tmp due to a failed precondition on the source (e.g. locks). [424, #0]
An error occurred on another resource, preventing the requested operation on this resource. [424, #0]
Could not DELETE /pinakos/admin/6A71E678.tmp due to a failed precondition (e.g. locks). [423, #0]
This resource is locked and an "If:" header was not supplied to allow access to the resource. [423, #0]



Virtual host (excerpt):

Code: Select all
Alias /pinakos/admin /var/www/webdav/pinakos/admin
<Directory /var/www/webdav/pinakos/admin>
DAV On
AuthType Digest
AuthName "webdav"
AuthUserFile /etc/apache2/users.password
Require valid-user
</Directory>
<Location /pinakos/admin>
Require user admin
</Location>



www-data has rw permissions for /var/www as well for the DavLock file.
floridafreedivers
 
Posts: 1
Joined: 21. February 2019 12:30
XAMPP version: 2.0
Operating System: Window 7

Re: DavLock Errors when saving from Word to WebDAV

Postby Nobbie » 21. February 2019 16:17

floridafreedivers wrote:www-data has rw permissions for /var/www as well for the DavLock file.


Thats insufficient, must be rwx for deleting files.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to Apache

Who is online

Users browsing this forum: No registered users and 20 guests