AnsweredAssumed Answered

AVM directories disappearing over CIFS/FTP

Question asked by ipapas on Feb 25, 2009
Latest reply on Feb 25, 2009 by mrogers
We’ve encountered an interesting issue with WCM where all AVM folders disappear for a user when changes occur in a web project (eg: content is submitted into a workflow).  In our case, userA [Content Publisher] submits content from their sandbox in webProjectA.  Typically, the content from the user’s sandbox is available in:


The same structure applies to CIFS, with the AVM folder structure looking like so:


For some reason, once any content is submitted, all directories in the AVM folder disappear for userA (admin [Content Manager] can sometimes still see these folders over FTP/CIFS, sometimes they go blank for admin as well).  This will also happen if a user makes a change in webProjectB.  It seems the user is suddenly denied from accessing the entire AVM folder, and the server produces the following stacktrace:

00:27:38,875 ERROR [alfresco.ftp.protocol] Error generating FTP path Access Denied.  You do not have the appropriate permissions to perform this operation.
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
        at org.alfresco.repo.audit.AuditComponentImpl.audit(
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
        at $Proxy3.getChildAssocs(Unknown Source)
        at org.alfresco.filesys.avm.AVMDiskDriver.findPseudoState(
        at org.alfresco.filesys.avm.AVMDiskDriver.checkPathAccess(
        at org.alfresco.filesys.avm.AVMDiskDriver.buildStorePath(
        at org.alfresco.filesys.avm.AVMDiskDriver.fileExists(
        at org.alfresco.filesys.ftp.FTPSrvSession.generatePathForRequest(
        at org.alfresco.filesys.ftp.FTPSrvSession.generatePathForRequest(
        at org.alfresco.filesys.ftp.FTPSrvSession.procFileSize(
Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.
        at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
        … 17 more

Has  anyone seen this behavior before?  This is crucial to our project since the developer ant script pulls web project content over FTP, using the user’s account.  Also, if the server is restarted, userA can access the AVM folder again without issue, which leads us to believe this may be a resource or state issue.  Occasionally, if the submission completes the workflow access also returns, but I haven’t been able to make it happen consistently. 

Thanks in advance,