WebDAV file lock

本業で外部協力者とのドキュメント共有目的で利用しているWebDAV上で、spreadsheetがreadonlyになってしまう。
MS userによれば"user calcにより編集されている"というメッセージが出るとのことなので、どうやら唯一のOpenOffice userな自分のせいでfile lockのままになっているようだ。

とりあえずググって、cadaverってのを試して解決、以下の要領。

user@host:~% cadaver https://hoge.co.jp/target_dir/
WARNING: Untrusted server certificate presented for `hoge.co.jp':
Issued to: IT Dept., hoge, inc., Shibuya, Tokyo, JP
Issued by: IT Dept., hoge, inc., Shibuya, Tokyo, JP
Certificate is valid from May  7 06:59:51 2007 GMT to May  6 06:59:51 2008 GMT
Do you wish to accept the certificate? (y/n) y
Authentication required for Authorized Users Only on server `hoge.co.jp':
Username: hogehogeo
Password:
dav:/target_dir/> discover target_file.xls
Discovering locks on `target_file.xls':
Lock token <opaquelocktoken:0c186c30-8956-0410-85cb-cf4f6b2f8280>:
  Depth 0 on `https://hoge.co.jp/target_dir/target_file.xls'
  Scope: exclusive  Type: write  Timeout: infinite
  Owner:
dav:/target_dir/> unlock target_file.xls
Unlocking `target_file.xls':Enter locktoken:  opaquelocktoken:0c186c30-8956-0410-85cb-cf4f6b2f8280
 succeeded.
dav:/target_dir/> quit
Connection to `hoge.co.jp' closed.