WebDAV "Unable to sync" "You do not have permission"

I’ve linked Odrive to a WebDAV server run on OS X 10.11 Server. I can browse the folder structure and see all files and folders but am unable to sync anything. I get an error message saying “Unable to sync” “You do not have permission”

I’m able to upload and download to the same WebDAV server using Cyberduck and Finder with no issues.

Any ideas?

Robin

Hi @robin.hoffmann,
Are you using the built-in WebDAV feature as part of “file sharing”? Unfortunately I’ve never had the opportunity to test that, so I don’t know much about it. I think it may use Apache underneath, though, and I have tested with that. Do you have access to the WebDAV logs? They might be in /var/log/apache2/

Can you send a diagnostic from the odrive tray menu?
Also, would you be able to create a test account for me to try with here?

Thanks!

Hi Tony,

I’ve sent further details in a PM.

Thanks,

Robin

@Tony Have you looked into this yet?

My apologies @robin.hoffmann, this fell of my list somewhere along the way. I will be looking at it today. Please ping me if you don’t hear something by EOD today.

Hi @robin.hoffmann,
It looks like the server is returning:
“AH01630: client denied by server configuration: /Library/Server/Web/Data/Sites/Default/09 - NZ AUS server”

This could be just a simple permissions issue. Take a look at this documentation here:
https://wiki.apache.org/httpd/ClientDeniedByServerConfiguration

Here is a post re: OSX (Yosemite, but I think the same may apply to El Capitan): http://superuser.com/questions/827810/apache-client-denied-by-server-configuration-after-mac-os-x-upgrade-to-yosemite

@Tony Thanks for looking into this. It could be that, I’ll look into it. It seems odd that there are no permissions issues when
using for example Cyberduck. I’m able to read and write files and folders with no permissions error.

I’ve uploaded the apache2 WebDav config files I can find in case they’re helpful. I think “httpd_webdavsharing_sharepoints” gets reset when re-starting WebDAV sharing and I think it uses “httpd_webdavsharing_template” as a template for doing this. Can you see any obvious changes I need to make?

Thanks,

Robin

httpd_webdavsharing_sharepoints.txt (1.0 KB)
httpd_webdavsharing.txt (988 Bytes)
httpd_webdavsharing_template.txt (3.7 KB)

Hi @robin.hoffmann,
You may be messing with things right now, because I can’t access at all, currently, but in this section:

<Directory "/Volumes/Data/09 - NZ AUS server">
 Require ip 127.0.0.1
 DAV On
 AllowOverride None
</Directory>

You have 127.0.0.1 as a required ip address for the client. If you comment that out and add “Require all granted” does that help?

If not, maybe we can look at the requests coming from cyberduck and odrive, side-by-side. You can do this by trying to download a file on each client and then we can look at the access and error logs.