无法从Word保存到WebDAV文件夹(文件上的LOCK)

时间:2017-07-25 15:04:29

标签: apache ms-word locking webdav

我使用apache2和mod davdav_fsdav_lock在Ubuntu上设置WebDAV。

从Windows和Linux客户端连接到WebDAV文件夹都可以正常工作。甚至可以创建(编写)和修改文档。

然后问题是当我尝试从Word保存文档时。 Word首先在服务器上创建文件,但随后出现以下错误:

出现网络或文件权限错误。网络连接可能会丢失 https://support.microsoft.com/en-us/help/291156/you-receive-a-there-has-been-a-network-or-file-permission-error--the-n(解决方案没有帮助)

Apache error.log

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]

虚拟主机(摘录):

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/var/www以及DavLock文件具有rw权限。

0 个答案:

没有答案