is WebDAV file locking implemented in Cyberduck 4.2.1 (9339) ?

472 views
Skip to first unread message

David Di Gioia

unread,
Jan 11, 2012, 2:48:02 PM1/11/12
to Cyberduck
I have a WebDAV server (Apache mod_dav, mod_dav_fs) which has lots of
activity, including the likelihood that users will try to modify each
others' files.

Aside from the question of whether one can load-balance across 2
WebDAV servers (sharing NFS file storage) and point DavGenericLockDB
and DavLockDB to the NFS share, which it seems I'll have to answer by
experimentation, today I came across http://trac.cyberduck.ch/ticket/5687
which implies (to me) that Cyberduck does not yet support WebDAV file
locking.

Could you please clarify this?

Thanks,
David

David Kocher

unread,
Jan 12, 2012, 3:53:01 AM1/12/12
to cybe...@googlegroups.com
That's right. We do not currently support locks.

-
David

> --
> You received this message because you are subscribed to the Google Groups "Cyberduck" group. To post to this group, send email to cybe...@googlegroups.com
> To unsubscribe from this group, send email to cyberduck+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/cyberduck
> --
> Post bug reports and feature requests
> http://trac.cyberduck.ch/newticket
> --
> Support development
> http://cyberduck.ch/donate/
>

David Di Gioia

unread,
Jan 12, 2012, 11:09:14 AM1/12/12
to cybe...@googlegroups.com
David,

Thank you so much for confirming this!

Our WebDAV usage has increased, and many of the WebDAV users who are collaborating are in different time zones.  I was wondering why we were having more strange incidents of files disappearing, etc.

Does anyone know if the Mac OS X 10.6 Snow Leopard and 10.7 Lion WebDAV clients support file locking?  (I think they do, but I'm not sure).

Do any other WebDAV clients such as BitKinex or Transmit support file locking?

We need a robust client that will work with recent versions of Mac and Windows, though it doesn't need to be the same client on both OSes.

Thanks,
David

Ringo De Smet

unread,
Jan 27, 2012, 3:33:40 AM1/27/12
to cybe...@googlegroups.com
David,

On 12 January 2012 17:09, David Di Gioia <david....@gmail.com> wrote:

Does anyone know if the Mac OS X 10.6 Snow Leopard and 10.7 Lion WebDAV clients support file locking?  (I think they do, but I'm not sure).

I know from experience that the Mac OS X client supports locking. If it connects to a WebDAV server that does not advertise itself to be Class 2 compliant, the Mac Finder will make the WebDAV connection read-only to prevent these weird side effects for the user to become visible.


Ringo

David Di Gioia

unread,
Jan 27, 2012, 2:34:55 PM1/27/12
to cybe...@googlegroups.com
Thanks, Ringo!

Well, WebDAV locking SEEMS to be causing lots of problems for us.

Since the Mac OS X WebDAV client seems to be the only mainstream client that supports it, I just set DavMinTimeout to 0 in my Apache config.

But I think the client will override that; I still see lots of WebDAVFS LOCK/UNLOCK requests in the Apache logs.

Do you think I can I direct DavLockDB to /dev/null or something to disable WebDAV locking completely?

I can mandate clients other than Mac OS X Finder, if I have to.

This would also make it work better with multiple WebDAV servers behind a load balancer.

Thanks,
David

neilx

unread,
Mar 3, 2012, 5:42:54 AM3/3/12
to Cyberduck
Forgive me for asking a dumb question, but what is the point of webdav
without lock support? I would be very happy if I could persuade my
users that locking files isn't needed as I could then use your
otherwise excellent product. Their fundamental requirement is that no-
one can overwrite changes made by others. (Of course, even with
locking this isn't possible without revision control, but at least it
prevents the most obvious overwrite situations from occuring)

On Jan 12, 9:53 am, David Kocher <dkoc...@cyberduck.ch> wrote:
> That's right. We do not currently support locks.
>
> -
> David
>
> On 11.01.2012, at 20:48, David Di Gioia wrote:
>
>
>
> > I have a WebDAV server (Apache mod_dav, mod_dav_fs) which has lots of
> > activity, including the likelihood that users will try to modify each
> > others' files.
>
> > Aside from the question of whether one can load-balance across 2
> > WebDAV servers (sharing NFS file storage) and point DavGenericLockDB
> > and DavLockDB to the NFS share, which it seems I'll have to answer by
> > experimentation, today I came acrosshttp://trac.cyberduck.ch/ticket/5687
> > which implies (to me) that Cyberduck does not yet support WebDAV file
> > locking.
>
> > Could you please clarify this?
>
> > Thanks,
> > David
>
> > --
> > You received this message because you are subscribed to the Google Groups "Cyberduck" group. To post to this group, send email to cybe...@googlegroups.com
> > To unsubscribe from this group, send email to cyberduck+...@googlegroups.com
> > For more options, visit this group athttp://groups.google.com/group/cyberduck
> > --
> > Post bug reports and feature requests
> >http://trac.cyberduck.ch/newticket
> > --
> > Support development
> >http://cyberduck.ch/donate/
>
>
>
>  smime.p7s
> 5KViewDownload

David Kocher

unread,
Mar 8, 2012, 12:09:00 PM3/8/12
to cybe...@googlegroups.com
No other protocol does support locks neither. There is a risk of conflicting edits but proper locking is difficult to implement transparently to the user and to make sure that all locks are removed at the same time.

This enhancement is tracked in http://trac.cyberduck.ch/ticket/5687

-
David

> For more options, visit this group at http://groups.google.com/group/cyberduck

Reply all
Reply to author
Forward
0 new messages