Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Unable to rename a file on a WebDAV sharepoint

I have created a WebDAV SharePoint in Server.app in File Sharing. It can only be mounted with WebDAV and both owner, group and everybody have read-write access.


I am having trouble with a specific bundle on that WebDAV share. The bundle is an OmniFocus.ofocus bundle that I copied there when on another machine and had the same WebDAV mounted as user foo (while on the client also logged in as network user foo).


When I try to rename that bundle, via the mounted WebDAV, it fails. I am unable to rename it in the Finder or in the CLI using the mv command. But when I create a new folder, put something in it and try to rename it, it works. However, depending on which I want to rename, something different seems to happen under water in the WebDAV.


On the command line, when in the mounted WebDAV directory, I do:


myserver-userfoo userbar$ mv OmniFocus.ofocus OmniFocus2.ofocus

mv: rename OmniFocus.ofocus to OmniFocus2.ofocus: Operation not permitted

myserver:OmniFocus-userfoo userbar$ mv Test5 Test6


In the Access Log of the web server I see:


myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:35 +0200] "PROPFIND /OmniFocus-userfoo/ HTTP/1.1" 207 621 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:35 +0200] "PROPFIND /OmniFocus-userfoo/OmniFocus2.ofocus HTTP/1.1" 404 232 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:35 +0200] "PROPFIND /OmniFocus-userfoo/OmniFocus.ofocus HTTP/1.1" 207 638 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:35 +0200] "PROPFIND /OmniFocus-userfoo/OmniFocus2.ofocus HTTP/1.1" 404 232 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:35 +0200] "PROPFIND /OmniFocus-userfoo/._OmniFocus.ofocus HTTP/1.1" 404 233 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:35 +0200] "MOVE /OmniFocus-userfoo/OmniFocus.ofocus/ HTTP/1.1" 403 178 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:42 +0200] "PROPFIND /OmniFocus-userfoo/Test6 HTTP/1.1" 404 220 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:42 +0200] "PROPFIND /OmniFocus-userfoo/Test5 HTTP/1.1" 207 627 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:42 +0200] "PROPFIND /OmniFocus-userfoo/Test6 HTTP/1.1" 404 220 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:42 +0200] "PROPFIND /OmniFocus-userfoo/._Test5 HTTP/1.1" 404 222 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:42 +0200] "MOVE /OmniFocus-userfoo/Test5/ HTTP/1.1" 201 205 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:42 +0200] "PROPFIND /OmniFocus-userfoo/._Test6 HTTP/1.1" 404 222 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:42 +0200] "PROPFIND /OmniFocus-userfoo/._. HTTP/1.1" 404 218 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:42 +0200] "PROPFIND /OmniFocus-userfoo/._. HTTP/1.1" 404 218 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:42 +0200] "PROPFIND /OmniFocus-userfoo/ HTTP/1.1" 207 2508 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:43 +0200] "GET /OmniFocus-userfoo/._.DS_Store HTTP/1.1" 304 - "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:43 +0200] "PROPFIND /OmniFocus-userfoo/._OmniFocus.ofocus HTTP/1.1" 404 233 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:43 +0200] "PROPFIND /OmniFocus-userfoo/._Test6 HTTP/1.1" 404 222 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:43 +0200] "PROPFIND /OmniFocus-userfoo/OmniFocus.ofocus/Contents HTTP/1.1" 404 240 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:43 +0200] "PROPFIND /OmniFocus-userfoo/Test6/ HTTP/1.1" 207 627 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:43 +0200] "PROPFIND /OmniFocus-userfoo/Test5 HTTP/1.1" 404 220 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"

myserver.rna.nl ::1 - userfoo [24/Apr/2013:12:15:43 +0200] "PROPFIND /OmniFocus-userfoo/Test5 HTTP/1.1" 404 220 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.3.0 (x86_64)"


When I go to the underlying real folder on the hard disk I see:


bash-3.2# ls -lReaO@ OmniFocus-userfoo

total 24

drwxrwxrwx+ 6 root wheel - 204 Apr 24 12:15 .

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

drwxr-xr-x 7 root wheel - 238 Apr 24 10:55 ..

-rw-r--r--+ 1 userfoo wheel - 6148 Apr 24 11:51 .DS_Store

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 4096 Apr 24 11:13 ._.DS_Store

0: user:_spotlight inherited allow read,execute

drwxr-xr-x+ 126 userfoo wheel - 4284 Apr 24 11:17 OmniFocus.ofocus

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

drwxr-xr-x+ 4 userfoo wheel - 136 Apr 24 11:51 Test6

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit



OmniFocus-userfoo/OmniFocus.ofocus:

total 5048

drwxr-xr-x+ 126 userfoo wheel - 4284 Apr 24 11:17 .

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

drwxrwxrwx+ 6 root wheel - 204 Apr 24 12:15 ..

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

-rw-r--r--+ 1 userfoo wheel - 0 Apr 24 11:17 .e17e55ad-0ee5-4168-93b6-f645566c986a-67a2f-0-Spotlight

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 0 Apr 24 11:16 .e360fd58-6dd1-44d0-8aae-42fec056dcde-67a2f-0-Spotlight

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 2088901 Apr 24 11:16 00000000000000=l637L6Jx8wc+ewDgRRfZNCc.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 381 Apr 24 11:16 20130320063624=ewDgRRfZNCc+dv4-F6OPUCa.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 419 Apr 24 11:16 20130320063635=dv4-F6OPUCa+ayrAaLLJlM0.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 563 Apr 24 11:16 20130320063638=ayrAaLLJlM0+a2MqZhb0iGq.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 702 Apr 24 11:16 20130320063650=a2MqZhb0iGq+nHecPqLdBtN.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 732 Apr 24 11:16 20130320063711=nHecPqLdBtN+n73kblWE-Cr.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 722 Apr 24 11:16 20130320063716=n73kblWE-Cr+jpszRupuAXa.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 881 Apr 24 11:16 20130320175651=jpszRupuAXa+ns-1CAeYrGm.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 884 Apr 24 11:16 20130320175652=ns-1CAeYrGm+e6AlCIXHh_J.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 885 Apr 24 11:16 20130320175707=e6AlCIXHh_J+kE84nYU_adD.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 995 Apr 24 11:16 20130320175709=kE84nYU_adD+nCID50hCHf1.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 939 Apr 24 11:16 20130320175715=nCID50hCHf1+kpLThVbkC8v.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 559 Apr 24 11:16 20130322064901=ewDgRRfZNCc+gXLi1zuaNXK.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 543 Apr 24 11:16 20130322064905=gXLi1zuaNXK+drMQfqtq4Ar.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 561 Apr 24 11:16 20130322064913=drMQfqtq4Ar+nNUULqC0Sdo.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 594 Apr 24 11:16 20130322064927=nNUULqC0Sdo+bvDsqiefRem.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 611 Apr 24 11:16 20130322064950=bvDsqiefRem+fSHFjBl3_by.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 321 Apr 24 11:16 20130322064953=fSHFjBl3_by+kpLThVbkC8v+iUCR5fScsH_.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 750 Apr 24 11:16 20130322065009=iUCR5fScsH_+b_G9pRJmpg6.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 559 Apr 24 11:16 20130322065011=b_G9pRJmpg6+jJF06APBbTz.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 573 Apr 24 11:16 20130322065025=jJF06APBbTz+i8BKwzYzZD6.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 592 Apr 24 11:16 20130322065033=i8BKwzYzZD6+ocuxuEu7TRS.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 732 Apr 24 11:16 20130322065040=ocuxuEu7TRS+emHcX3v-wY8.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 558 Apr 24 11:16 20130322065055=emHcX3v-wY8+o6hnod62LMg.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 578 Apr 24 11:16 20130322065103=o6hnod62LMg+nu_VhWYlYKe.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 595 Apr 24 11:16 20130322065106=nu_VhWYlYKe+dX-hwKB9CuR.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 736 Apr 24 11:16 20130322065111=dX-hwKB9CuR+fQgcJORl2P8.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 973 Apr 24 11:16 20130322065130=fQgcJORl2P8+mX_hogBaS89.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 697 Apr 24 11:16 20130322065141=mX_hogBaS89+ab1sYv4Mpgm.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 735 Apr 24 11:16 20130322065152=ab1sYv4Mpgm+iLZapbM7Z7x.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 807 Apr 24 11:16 20130322065154=iLZapbM7Z7x+dWmKcgLFM3-.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 858 Apr 24 11:16 20130322065158=dWmKcgLFM3-+nf-nJ_rHyrP.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 872 Apr 24 11:16 20130322065201=nf-nJ_rHyrP+k-Ed9pJvKZt.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 696 Apr 24 11:16 20130322065223=k-Ed9pJvKZt+oN2I8yhVIc2.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 726 Apr 24 11:16 20130322065233=oN2I8yhVIc2+h2aBsUhJzmJ.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 850 Apr 24 11:17 20130322065236=h2aBsUhJzmJ+b5tXZPItvIp.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 861 Apr 24 11:17 20130322065238=b5tXZPItvIp+fk7Vgfa9Ds5.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 1210 Apr 24 11:17 20130322065307=fk7Vgfa9Ds5+hELarPEChtn.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 749 Apr 24 11:17 20130322131919=hELarPEChtn+nsm6jhM_k1J.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 911 Apr 24 11:17 20130322133940=nsm6jhM_k1J+g0pzmSTN1fY.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 756 Apr 24 11:17 20130322133949=g0pzmSTN1fY+fqyOwEoHvC3.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 759 Apr 24 11:17 20130322134000=fqyOwEoHvC3+gjIXCyoCLy5.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 756 Apr 24 11:17 20130322134003=gjIXCyoCLy5+boQklD89cJa.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 544 Apr 24 11:17 20130322134005=boQklD89cJa+cmaVUNY1LxU.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 877 Apr 24 11:17 20130322135043=cmaVUNY1LxU+l9gy2jL43Tx.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 861 Apr 24 11:17 20130322135109=l9gy2jL43Tx+nwm-YVGpt4Z.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 864 Apr 24 11:17 20130322135227=nwm-YVGpt4Z+faBprJ7jJG8.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 745 Apr 24 11:17 20130322151603=faBprJ7jJG8+fpSGQdJib6N.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 559 Apr 24 11:17 20130322152547=fpSGQdJib6N+eJEcWYaLaWY.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 597 Apr 24 11:17 20130322152607=eJEcWYaLaWY+ci0GsJvduRW.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 618 Apr 24 11:17 20130322152617=ci0GsJvduRW+fdsfEOfQ6PF.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 764 Apr 24 11:17 20130322152625=fdsfEOfQ6PF+lurysQuib9x.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 2154 Apr 24 11:17 20130324122607=kpLThVbkC8v+fKTt1GRuQd2.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 295 Apr 24 11:17 20130324122709=fKTt1GRuQd2+lurysQuib9x+cz3PS8A0o6u.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 886 Apr 24 11:17 20130324160452=cz3PS8A0o6u+n8PpW3VE8p8.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 997 Apr 24 11:17 20130324160454=n8PpW3VE8p8+m8jICCloz91.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 899 Apr 24 11:17 20130324160457=m8jICCloz91+mp6J0d8WEa0.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 852 Apr 24 11:17 20130324160505=mp6J0d8WEa0+aKn8YU1dOBR.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 914 Apr 24 11:17 20130324160513=aKn8YU1dOBR+eyjGggG55CN.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 948 Apr 24 11:17 20130324160522=eyjGggG55CN+e3466eDr5QB.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 896 Apr 24 11:17 20130324160524=e3466eDr5QB+hlAwvVRzonj.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 854 Apr 24 11:17 20130325211917=hlAwvVRzonj+cM_9T7P4Fs_.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 378 Apr 24 11:17 20130325211930=cM_9T7P4Fs_+gO3a-p3V9M9.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 423 Apr 24 11:17 20130325211955=gO3a-p3V9M9+ihW9Ryi2yXG.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 572 Apr 24 11:17 20130325212005=ihW9Ryi2yXG+olhPKKOuabz.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 767 Apr 24 11:17 20130325212010=olhPKKOuabz+jhL8iXGYyLe.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 785 Apr 24 11:17 20130325212019=jhL8iXGYyLe+mUjs0xxhT37.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 774 Apr 24 11:17 20130325212022=mUjs0xxhT37+i91IcWdL3Pn.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 380 Apr 24 11:17 20130325212023=i91IcWdL3Pn+fspTDN8wlxi.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 426 Apr 24 11:17 20130325212041=fspTDN8wlxi+peWdXKO7XkO.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 572 Apr 24 11:17 20130325212045=peWdXKO7XkO+h3ti5GCx8KU.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 769 Apr 24 11:17 20130325212051=h3ti5GCx8KU+dsi8OQQDncg.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 789 Apr 24 11:17 20130325212101=dsi8OQQDncg+g68VJuF4jAj.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 779 Apr 24 11:17 20130325212102=g68VJuF4jAj+nZfkAx15p8d.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 791 Apr 24 11:17 20130326091526=eawg2tKxrne+jlhQuBvqL3Z.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 794 Apr 24 11:17 20130326091526=nZfkAx15p8d+eawg2tKxrne.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 805 Apr 24 11:17 20130326232916=jlhQuBvqL3Z+cwsIAPYV9i8.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 955 Apr 24 11:17 20130326232932=cwsIAPYV9i8+f_lG_j98lXd.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 859 Apr 24 11:17 20130326233026=f_lG_j98lXd+e9zj_S2TpbV.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 381 Apr 24 11:17 20130327124609=jlhQuBvqL3Z+eAzsJyA165b.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 295 Apr 24 11:17 20130327124610=e9zj_S2TpbV+eAzsJyA165b+aHOap1r8RDC.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 428 Apr 24 11:17 20130327124631=eAzsJyA165b+oAkCZIxy5M4.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 571 Apr 24 11:17 20130327124634=oAkCZIxy5M4+fxq3aM2H_uG.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 1273 Apr 24 11:17 20130327124641=fxq3aM2H_uG+nlxO18MTXe9.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 727 Apr 24 11:17 20130327124646=nlxO18MTXe9+ksVhFjg8iis.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 763 Apr 24 11:17 20130327124704=ksVhFjg8iis+eCm41m6_Vap.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 1199 Apr 24 11:17 20130327124705=eCm41m6_Vap+cWAULS7PJJy.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 295 Apr 24 11:17 20130327124711=aHOap1r8RDC+cWAULS7PJJy+iXvUNKD9fbs.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 890 Apr 24 11:17 20130327172329=iXvUNKD9fbs+m0I0h2w4nJ8.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 887 Apr 24 11:17 20130327172329=m0I0h2w4nJ8+hC8M6FETQTc.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 379 Apr 24 11:17 20130328123801=hC8M6FETQTc+oIukIq_ZYGj.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 417 Apr 24 11:17 20130328123810=oIukIq_ZYGj+f0cdps_CLxO.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 564 Apr 24 11:17 20130328123813=f0cdps_CLxO+fM9YHur6Uv-.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 819 Apr 24 11:17 20130328123818=fM9YHur6Uv-+aPc6znMI7So.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 815 Apr 24 11:17 20130328123827=aPc6znMI7So+l3PBLjuAQt5.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 378 Apr 24 11:17 20130328123835=l3PBLjuAQt5+bGJBv3eRk2O.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 418 Apr 24 11:17 20130328123846=bGJBv3eRk2O+ePL2NZ-_611.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 562 Apr 24 11:17 20130328123848=ePL2NZ-_611+g9tIWYmYVUz.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 817 Apr 24 11:17 20130328123854=g9tIWYmYVUz+lUglrOAZMm4.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 834 Apr 24 11:17 20130328123901=lUglrOAZMm4+nycYyCGmRnO.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 827 Apr 24 11:17 20130328123905=nycYyCGmRnO+esnkkwo_VGw.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 380 Apr 24 11:17 20130328123941=esnkkwo_VGw+gxNawy7klhD.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 421 Apr 24 11:17 20130328123952=gxNawy7klhD+mIMpHFImc1M.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 565 Apr 24 11:17 20130328123954=mIMpHFImc1M+oG5qk7d8ArL.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 1078 Apr 24 11:17 20130328124005=oG5qk7d8ArL+axjQUJXwUvG.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 740 Apr 24 11:17 20130328124043=axjQUJXwUvG+fQWeW1Ih0u0.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 730 Apr 24 11:17 20130328124047=fQWeW1Ih0u0+dkWsPo-fIZC.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 878 Apr 24 11:17 20130329102744=hlAwvVRzonj+mIp3x1ihEe3.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 321 Apr 24 11:17 20130329102748=hC8M6FETQTc+mIp3x1ihEe3+ewj0GFBis5R.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 856 Apr 24 11:17 20130329102825=ewj0GFBis5R+pHpWfbJbQSL.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 914 Apr 24 11:17 20130329102826=pHpWfbJbQSL+d9TAXf8AxIP.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 295 Apr 24 11:17 20130403085132=d9TAXf8AxIP+dkWsPo-fIZC+d8swGDpaDmx.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 642 Apr 24 11:17 20130403102945=hC8M6FETQTc+im2IZhujegn.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 325 Apr 24 11:17 20130403102948=d8swGDpaDmx+im2IZhujegn+dV1fbCYK32E.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 562 Apr 24 11:17 20130404075237=dV1fbCYK32E+aSYAtvOT5nu.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 588 Apr 24 11:17 20130404075249=aSYAtvOT5nu+malPgoGnjQJ.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 760 Apr 24 11:17 20130404075256=malPgoGnjQJ+kumEWeNBtbu.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 690 Apr 24 11:17 20130404075307=kumEWeNBtbu+dOvF6-zehOW.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 804 Apr 24 11:17 20130404075355=dOvF6-zehOW+cx1dqp_dKJf.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 878 Apr 24 11:17 20130404075418=cx1dqp_dKJf+lfCwuIbjXlL.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 807 Apr 24 11:17 20130404075439=lfCwuIbjXlL+gSdEOt6qW3M.zip

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 1065 Apr 24 11:17 20130424091735=iMinpEHRjWA.client-write-in-progress-mhXz8s3wFDz

0: user:_spotlight inherited allow read,execute



OmniFocus-userfoo/Test6:

total 176

drwxr-xr-x+ 4 userfoo wheel - 136 Apr 24 11:51 .

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

drwxrwxrwx+ 6 root wheel - 204 Apr 24 12:15 ..

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

-rw-r--r--+ 1 userfoo wheel - 4096 Apr 24 11:47 ._LogProblems.txt

0: user:_spotlight inherited allow read,execute

-rw-r--r--+ 1 userfoo wheel - 82977 Apr 24 11:47 LogProblems.txt

0: user:_spotlight inherited allow read,execute

bash-3.2#


I am at a loss. Why is one directory (bundle) behaving differently than another, even at the CLI unix level?

Posted on Apr 24, 2013 3:26 AM

Reply
Question marked as Best reply

Posted on Apr 24, 2013 6:44 AM

An interesting new fact emerged. I was looking at apache's webdav setup and noticed something:

<Directory "/Library/WebServer/OmniFocus-userfoo">

Allow from 127.0.0.1

DAV On

AllowOverride None

</Directory>

Substitute "s|${UserUUID}/Library/WebServer/OmniFocus-userfoo|webdav/OmniFocus-userfoo|n"

Substitute "s|/Library/WebServer/OmniFocus-userfoo|/webdav/OmniFocus-userfoo|n"

RewriteRule "^/${UserUUID}/OmniFocus-userfoo(.*)$" "/Library/WebServer/OmniFocus-userfoo$1" [NS]

RequestHeader edit Destination "^.*/OmniFocus-userfoo(.*)$" "http://localhost:${UserPort}/Library/WebServer/OmniFocus-userfoo$1"



<Directory "/Library/WebServer/OmniFocus">

Allow from 127.0.0.1

DAV On

AllowOverride None

</Directory>

Substitute "s|${UserUUID}/Library/WebServer/OmniFocus|webdav/OmniFocus|n"

Substitute "s|/Library/WebServer/OmniFocus|/webdav/OmniFocus|n"

RewriteRule "^/${UserUUID}/OmniFocus(.*)$" "/Library/WebServer/OmniFocus$1" [NS]

RequestHeader edit Destination "^.*/OmniFocus(.*)$" "http://localhost:${UserPort}/Library/WebServer/OmniFocus$1"



What I noticed was the appearance of 'webdav' in the rewrite/subsitution rules. So, as an experiment, I tried to mount https://myserver/webdav/OmniFocus-userfoo instead of and https://myserver/OmniFocus-userfoo and this worked in the sense that the Finder mount still worked. However something very weird happened. I do not see the directory OmniFocus-userfoo/Test1 while I do see OmniFocus-userfoo/OmniFocus.ofocus. And I still could not rename the bundle OmniFocus.ofocus on that WebDAV.


But then I noticed the rewrite rules in the Apache webdav config.


So, I think I have found the problem, and the problem is that Apple needs better apache2 / regex writers.


Solution for OmniFocus users: don't create a WebDAV SharePoint with any substring from 'OmniFocus.ofocus' in the name (as obvious that may be, e.g. 'OmniFocus' as name for the WebDAV) because if you do, any file on that WebDAV with that substring in its name becomes unreliable as the Apple-generated rewrite rules play havoc with it.


I am not enough an apache expert to find out what exactly goes wrong and how to fix these rewrites. But basically

1 reply
Question marked as Best reply

Apr 24, 2013 6:44 AM in response to Gerben Wierda

An interesting new fact emerged. I was looking at apache's webdav setup and noticed something:

<Directory "/Library/WebServer/OmniFocus-userfoo">

Allow from 127.0.0.1

DAV On

AllowOverride None

</Directory>

Substitute "s|${UserUUID}/Library/WebServer/OmniFocus-userfoo|webdav/OmniFocus-userfoo|n"

Substitute "s|/Library/WebServer/OmniFocus-userfoo|/webdav/OmniFocus-userfoo|n"

RewriteRule "^/${UserUUID}/OmniFocus-userfoo(.*)$" "/Library/WebServer/OmniFocus-userfoo$1" [NS]

RequestHeader edit Destination "^.*/OmniFocus-userfoo(.*)$" "http://localhost:${UserPort}/Library/WebServer/OmniFocus-userfoo$1"



<Directory "/Library/WebServer/OmniFocus">

Allow from 127.0.0.1

DAV On

AllowOverride None

</Directory>

Substitute "s|${UserUUID}/Library/WebServer/OmniFocus|webdav/OmniFocus|n"

Substitute "s|/Library/WebServer/OmniFocus|/webdav/OmniFocus|n"

RewriteRule "^/${UserUUID}/OmniFocus(.*)$" "/Library/WebServer/OmniFocus$1" [NS]

RequestHeader edit Destination "^.*/OmniFocus(.*)$" "http://localhost:${UserPort}/Library/WebServer/OmniFocus$1"



What I noticed was the appearance of 'webdav' in the rewrite/subsitution rules. So, as an experiment, I tried to mount https://myserver/webdav/OmniFocus-userfoo instead of and https://myserver/OmniFocus-userfoo and this worked in the sense that the Finder mount still worked. However something very weird happened. I do not see the directory OmniFocus-userfoo/Test1 while I do see OmniFocus-userfoo/OmniFocus.ofocus. And I still could not rename the bundle OmniFocus.ofocus on that WebDAV.


But then I noticed the rewrite rules in the Apache webdav config.


So, I think I have found the problem, and the problem is that Apple needs better apache2 / regex writers.


Solution for OmniFocus users: don't create a WebDAV SharePoint with any substring from 'OmniFocus.ofocus' in the name (as obvious that may be, e.g. 'OmniFocus' as name for the WebDAV) because if you do, any file on that WebDAV with that substring in its name becomes unreliable as the Apple-generated rewrite rules play havoc with it.


I am not enough an apache expert to find out what exactly goes wrong and how to fix these rewrites. But basically

Unable to rename a file on a WebDAV sharepoint

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.