Re: Make a JcrUtils created node writable from WebDAV?

2014-11-26 Thread Julian Sedding
Date: Tuesday, November 25, 2014 at 10:42 PM To: users@sling.apache.orgmailto:users@sling.apache.org users@sling.apache.orgmailto:users@sling.apache.org Subject: Re: Make a JcrUtils created node writable from WebDAV? Hi Bruce You could try authenticating your WebDAV connection with the admin

Re: Make a JcrUtils created node writable from WebDAV?

2014-11-26 Thread Bertrand Delacretaz
Hi Bruce, On Wed, Nov 26, 2014 at 8:00 AM, Bruce Edge bruce.e...@nextissuemedia.com wrote: ...I know it's probably not a best practice to create nodes using JcrUtils, then jump over to WebDAV to unpack a zip in the new nt:folder node,... Doing that is absolutely fine, to find out what's wrong

Make a JcrUtils created node writable from WebDAV?

2014-11-25 Thread Bruce Edge
Apologies for asking something that seems like it should be so simple. What else do I need to make a node that I create using JcrUtils.getOrCreateByPath(..) be writable from WebDAV? adminResolver = resolverFactory.getAdministrativeResourceResolver(null); adminSession =

Re: Make a JcrUtils created node writable from WebDAV?

2014-11-25 Thread Julian Sedding
Hi Bruce You could try authenticating your WebDAV connection with the admin credentials. If that works, it's likely to be an issue with the setup of your JCR permissions. You may well be connecting as anonymous currently and therefore be denied writes (I'm not familiar with the vanilla Sling