Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA029DE30 for ; Sat, 15 Sep 2012 17:26:15 +0000 (UTC) Received: (qmail 34435 invoked by uid 500); 15 Sep 2012 17:26:12 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 34397 invoked by uid 500); 15 Sep 2012 17:26:12 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 34389 invoked by uid 99); 15 Sep 2012 17:26:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Sep 2012 17:26:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of werner_schalk@gmx.de designates 213.165.64.23 as permitted sender) Received: from [213.165.64.23] (HELO mailout-de.gmx.net) (213.165.64.23) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 15 Sep 2012 17:26:05 +0000 Received: (qmail 339 invoked by uid 0); 15 Sep 2012 17:25:33 -0000 Received: from 81.210.179.210 by www006.gmx.net with HTTP; Sat, 15 Sep 2012 19:25:32 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Sat, 15 Sep 2012 19:25:32 +0200 From: "Werner Schalk" In-Reply-To: Message-ID: <20120915172532.146570@gmx.net> MIME-Version: 1.0 References: <20120915133318.325920@gmx.net> To: users@httpd.apache.org X-Authenticated: #15379541 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX19of7hgW4Jogx5gaQmJqcK87SxhwIqSGL1/FvfESh 4cOR4GQzQWCHmqCa6aF0h0VVG2l6pi6Ae+pw== Content-Transfer-Encoding: 8bit X-GMX-UID: W98mcCVYeSEqTjTPgXQh7XF+IGRvb0Ai Subject: Re: [users@httpd] Weird locking issue with mod_dav Hello, it is indeed: drwxr-sr-x 4 apache apache 4096 15. Sep 14:19 htdocs.webdav Any further ideas? Kind regards, Werner -------- Original-Nachricht -------- > Datum: Sun, 16 Sep 2012 02:01:50 +1000 > Von: Igor Cicimov > An: users@httpd.apache.org > Betreff: Re: [users@httpd] Weird locking issue with mod_dav > On Sat, Sep 15, 2012 at 11:33 PM, Werner Schalk > wrote: > > > Hello, > > > > I am trying to configure webdav for a folder and I am consistently > hitting > > a problem: Whenever files are copied to the webdav share, the operation > > aborts and the error log of Apache contains the following entries: > > > > [Sat Sep 15 14:16:27 2012] [error] [client 81.210.X.Y] (2)No such file > or > > directory: This resource is locked and an "If:" header was not supplied > to > > allow access to the resource. [423, #0] > > [Sat Sep 15 14:18:41 2012] [error] [client 81.210.X.Y] Could not LOCK > > /mydrop/Sample folder/P1290025.JPG due to a failed precondition (e.g. > other > > locks). [423, #0] > > [Sat Sep 15 14:18:41 2012] [error] [client 81.210.X.Y] (2)No such file > or > > directory: Existing lock(s) on the requested resource prevent an > exclusive > > lock. [423, #0] > > > > Here is my configuration: > > > > DavLockDB "/var/lib/dav/lockdb2" > > > > BrowserMatch "Microsoft Data Access Internet Publishing Provider" > > redirect-carefully > > BrowserMatch "MS FrontPage" redirect-carefully > > BrowserMatch "^WebDrive" redirect-carefully > > BrowserMatch "^WebDAVFS/1.[012345678]" redirect-carefully > > BrowserMatch "^gnome-vfs/1.0" redirect-carefully > > BrowserMatch "^XML Spy" redirect-carefully > > BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully > > > > > > > > > > ServerName www.bla.com > > DocumentRoot "/home/bla/blubb/htdocs" > > > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > > > Alias /mydrop /home/bla/blubb/htdocs.webdav > > > > DAV On > > Options Indexes > > AuthType Basic > > AuthName "Drop - Please enter password" > > AuthUserFile > > /home/bla/blubb/htdocs.webdav/.htpasswd > > DELETE > > PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK> > > Require valid-user > > Order allow,deny > > Allow from all > > > > DavMinTimeout 600 > > > > > > > > > > ScriptAlias /cgi-bin/ "/var/www/myhost/cgi-bin/" > > > > > > php_admin_value suhosin.session.encrypt Off > > > > LogLevel Debug > > > > ErrorLog /var/log/apache2/host_x_error_log > > > > > > TransferLog /var/log/apache2/host_x_access_log > > > > > > > > > > Any ideas? I have already checked the permissions for the lock, but they > > are fine (file is owned and writable my Apache user, so is the > directory). > > Any ideas? > > > How about the permissions of "/home/bla/blubb/htdocs.webdav" is it > writable > by apache? > > > > The Apache version I use is 2.2.22 , mod_dav, mod_dav_lock and > mod_dav_fs > > are enabled. The issue happens regardsless of the "Limit" directive. And > it > > happens even if I nuke the lock file or create a new one, the problem > > remains after restarting Apache. > > > > Kind regards, > > Werner > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org