Ah I see, it's all about the directory permissions. I got it to work by setting 
the directory permissions as you described. Thank you.

> From: danny.sokol...@marklogic.com
> To: general@developer.marklogic.com
> Date: Sun, 5 Jun 2011 11:36:18 -0700
> Subject: Re: [MarkLogic Dev General] useing WebDAV as a non-admin user
> 
> Hy Ryan,
> 
> The key is that the directories and the documents in the database must be 
> accessible by the user that you are connecting to the WebDAV server with.  If 
> you created the root directory of the WebDAV server with an admin user and 
> did not put any permissions on it, then only an admin user will be able to 
> connect.
> 
> So each document and directory must have permissions on it, and to access it, 
> the user accessing the WebDAV server must have a role corresponding to a read 
> permission on the documents and directories in the database.
> 
> To see if the root directory has any permissions, try running 
> xdmp:document-get-permissions on the root directory of the WebDAV server.  If 
> it returns empty, then there are no permissions.  You can add them with 
> xdmp:document-set-permissions or xdmp:document-add-permissions (or when you 
> create the doc/directory by specifying permission).
> 
> -Danny
> ________________________________________
> From: general-boun...@developer.marklogic.com 
> [general-boun...@developer.marklogic.com] On Behalf Of seme...@hotmail.com 
> [seme...@hotmail.com]
> Sent: Saturday, June 04, 2011 6:06 PM
> To: general@developer.marklogic.com
> Subject: [MarkLogic Dev General] useing WebDAV as a non-admin user
> 
> I have never been able to get a non-admin user to be able to use WebDAV, and 
> I have not found a solution online. I have tried adding every role and 
> privilege except for admin and still it doesn't work. It seems like the user 
> must really have the admin role to use WebDAV. Is it the case that non-admin 
> users can use WebDAV and if so what am I doing wrong?
> 
> Thanks,
> Ryan
> _______________________________________________
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
                                          
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to