cancel
Showing results for 
Search instead for 
Did you mean: 

Error saving files with Mac OS X 10.5 clients (WebDAV)

cegner
Champ in-the-making
Champ in-the-making
Hi,

I'm experiencing strange errors saving files with Mac OS X 10.5 clients using WebDAV. Users are getting error messages like "Document could not be saved", "Cannot access the file", "Operation could not be completed" or "Names are too long or contain invalid characters".

I have tried both the 2.1.0 Community Edition and the new Labs 3.0a Beta with some differences. Users were granted "Coordinator" Role on the Test space.

2.1.0 CE:
  • Users can open files from a space

  • Users can copy files from their local disk to a space using Finder

  • But they cannot save files directly to a space or save changes to a file opened from a space
Labs 3.0a:
  • Users can open files from a space

  • Users can copy files from their local disk to a space using Finder

  • Users can save files directly to a space

  • But they cannot save changes to a file opened from a space
The 3.0 version shows repeated "Access denied" errors in the logfile:


18:07:12,259 ERROR [org.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.create(Unknown Source)
        at org.alfresco.repo.webdav.MkcolMethod.executeImpl(MkcolMethod.java:136)
        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:595)
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)
        … 32 more

Mac OS X 10.4 users are not experiencing any problems!

Is this a known problem? I really appreciate any help.

Regards
Christof
4 REPLIES 4

mikeh
Star Contributor
Star Contributor
Hi

Which application and types of files are you trying to save in that last bullet point of the 3.0a list? I've just tested a simple text file, which worked ok.

Thanks,
Mike

cegner
Champ in-the-making
Champ in-the-making
Hi Mike,

I tried saving Richtext Files with OS X's TextEdit, but the problems also happen when saving documents in MS Office 2008. Word documents sometimes work, but Excel or Powerpoint files always get these errors.

Regards
Christof

cegner
Champ in-the-making
Champ in-the-making
Hi Mike,

I have captured a WebDAV session with tcpdump, you can find the file at

http://rapidshare.de/files/40156729/alfresco_webdav.bin.html

Hopefully you can extract additional information. I have also discovered that the problem seems to exist since OS X 10.5.3.

Regards
Christof

ehasting
Champ in-the-making
Champ in-the-making
any ideas? having the same problem.