cancel
Showing results for 
Search instead for 
Did you mean: 

renaming folders via WebDAV

mmichalik
Champ in-the-making
Champ in-the-making
Hi everyone,

I've searched for the past two days trying to find a post so I would not have to bug anyone but, I have not found any thing.  So, I have to ask.

I'm attempting to change a folder name in my space under User Homes via a WebDAV client (netdrive).

When ever I make the change, The folder gets renamed, but then when I refresh the folder, it goes back to the original name.

Checking the Catalina.out file, here is the output I recieve:

14:27:20,476 User:admin ERROR [alfresco.webdav.protocol] Internal Server Error:
org.alfresco.repo.security.permissions.AccessDeniedException: Access Denied.  You do not have the appropriate permissions to perform this operation.
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:245)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   at $Proxy46.move(Unknown Source)
   at org.alfresco.repo.webdav.MoveMethod.moveOrCopy(MoveMethod.java:50)
   at org.alfresco.repo.webdav.AbstractMoveOrCopyMethod.executeImpl(AbstractMoveOrCopyMethod.java:142)
   at org.alfresco.repo.webdav.WebDAVMethod$1.execute(WebDAVMethod.java:144)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:242)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:191)
   at org.alfresco.repo.webdav.WebDAVMethod.execute(WebDAVMethod.java:152)
   at org.alfresco.repo.webdav.WebDAVServlet.service(WebDAVServlet.java:136)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.alfresco.repo.webdav.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:304)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
   at java.lang.Thread.run(Thread.java:619)
Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.
   at net.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:86)
   at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:394)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   … 33 more

How do I get around this?  I'm assuming that it's a permissions error but, I have not been able to figure out how to set the permissions appropriately.  I'm a little new to Alfresco administration so any help would be appreciated.

Thanks,

Mike
17 REPLIES 17

mmichalik
Champ in-the-making
Champ in-the-making
Logged in as Admin or as a user, it makes no difference.

Rebooted the PC, turned off the PC, flushed the cache on the WebDrive and NetDrive programs, nothing has helped.

All I was doing was attempting to create a folder in a WebDAV mapped drive (using WebDrive and / or NetDrive clients).  If I create the folder on the desktop and drag it into my mapped drive, the name of the folder does not change.  If I create a folder in my mapped drive, it ALWAYS reverts back to "New Folder".  If I try to change the name of a folder in my mapped drive, it always reverts back to the original name.  I can rename objects in the folder without any issue though.  Just not folders.

As you can see by the error messages, if I am in as a user, I get an "Access Denied" error.  If I attempt to do as Admin, I get a "Integrity Violation" error.

I've looked at this from the O/S level and from the Alfresco UI Admin level and I can't seem to get it to work.

khaem
Champ in-the-making
Champ in-the-making
Hello,
I have the same problem.
I use the Alfresco Labs 3E on linux Debian.
unable to rename Files or Folders with NetDrive and WebDrive.
Thanks for any help.
Best Regards.

wajdi_ghribi
Champ in-the-making
Champ in-the-making
hi,
Can i use webdav protocol with alfresco labs (free version of alfresco) ???

mmichalik
Champ in-the-making
Champ in-the-making
Hello,
I have the same problem.
I use the Alfresco Labs 3E on linux Debian.
unable to rename Files or Folders with NetDrive and WebDrive.
Thanks for any help.
Best Regards.

Khaem,

Instead of using the IP address or the server name in the Webdrive connection string, you need to use the domU address (the Private DNS entry of the Amazon EC2 server you're using) in order to make the connection.

mmichalik
Champ in-the-making
Champ in-the-making
Hello,
I have the same problem.
I use the Alfresco Labs 3E on linux Debian.
unable to rename Files or Folders with NetDrive and WebDrive.
Thanks for any help.
Best Regards.

Khaem,

Instead of using the IP address or the server name in the Webdrive connection string, you need to use the domU address (the Private DNS entry of the Amazon EC2 server you're using) in order to make the connection.


Khaem,

I also have to add that in your c:\windows\system32\drivers\etc directory, you need to add the domU to your hosts file as well. 

Let's say that you have a server and the domU address is domU.12.12.12.12.compute-1.amazonaws.com running Alfresco and the IP address for that is 11.111.111.111.  Your hosts file should say:

11.111.111.111 domU.12.12.12.12.compute-1.amazonaws.com

and then everything should work.

I hope that helps.

Mike

hasi_webmail
Champ in-the-making
Champ in-the-making
Hi,

Im having the same issue. getting the following message when i try to rename. How did u sorted this issue?


rushingbee
Champ in-the-making
Champ in-the-making
I'm running Alfresco 4.2c on Debian with OS X webdav client.  I get an 'Access denied' trying to write to webdav as admin user.

Here's the traceback:
<blockcode>
ERROR [org.alfresco.webdav.protocol] java.io.PrintWriter@24087db2
   at org.alfresco.repo.webdav.WebDAVMethod.execute(WebDAVMethod.java:405)
   at org.alfresco.repo.webdav.WebDAVServlet.service(WebDAVServlet.java:140)
   at org.alfresco.repo.webdav.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:233)
   at org.alfresco.repo.webdav.MoveMethod.moveOrCopy(MoveMethod.java:253)
   at org.alfresco.repo.webdav.MoveMethod.executeImpl(MoveMethod.java:140)
   at org.alfresco.repo.webdav.WebDAVMethod$2.execute(WebDAVMethod.java:391)
   at org.alfresco.repo.webdav.WebDAVMethod.execute(WebDAVMethod.java:399)
</blockcode>

Different issue I suppose, since it's a later version.  I'm continuing the thread here: http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/webda...