cancel
Showing results for 
Search instead for 
Did you mean: 

Strange permission errors with some users

camille
Champ in-the-making
Champ in-the-making
Hello,

I've been using 2.1 community under Linux for quite a time without problems. Starting past week some users started complaining they suddenly had errors
1) trying to create spaces:
Failed to create new space due to error: Access Denied. You do not have the appropriate permissions to perform this operation.

This generates nothing in logs.

2) trying to add new content:
A system error happened during the operation: Failed to set content property on stream closure: node: workspace://SpacesStore/77996a3b-2d71-11dd-b565-9dd0075f5b46 property: {http://www.alfresco.org/model/content/1.0}content writer: ContentAccessor[ contentUrl=store://2008/5/29/13/22/77a7e92e-2d71-11dd-b565-9dd0075f5b46.bin, mimetype=image/png, size=52136, encoding=UTF-8, locale=en_US]

13:22:05,465 ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: Failed to set content property on stream closure: 
   node: workspace://SpacesStore/77996a3b-2d71-11dd-b565-9dd0075f5b46
   property: {http://www.alfresco.org/model/content/1.0}content
   writer: ContentAccessor[ contentUrl=store://2008/5/29/13/22/77a7e92e-2d71-11dd-b565-9dd0075f5b46.bin, mimetype=image/png, size=52136, encoding=UTF-8, locale=en_US]
org.alfresco.service.cmr.repository.ContentIOException: Failed to set content property on stream closure:
   node: workspace://SpacesStore/77996a3b-2d71-11dd-b565-9dd0075f5b46
   property: {http://www.alfresco.org/model/content/1.0}content
   writer: ContentAccessor[ contentUrl=store://2008/5/29/13/22/77a7e92e-2d71-11dd-b565-9dd0075f5b46.bin, mimetype=image/png, size=52136, encoding=UTF-8, locale=en_US]
        at org.alfresco.repo.content.RoutingContentService$WriteStreamListener.contentStreamClosed(RoutingContentService.java:577)
        at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel$1.execute(AbstractContentAccessor.java:357)
………..

Caused by: 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)
…………

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)

Some more details:
  • Those users have correct permissions on their spaces (All).

  • Now this happens with all new users.

  • Most users work fine as usual

  • Users that have the problem can change permissions on their spaces.
Any idea? thanks for your help.
2 REPLIES 2

jcampos
Champ in-the-making
Champ in-the-making
This also happens for some of my users.

I think I've narrowed it down to a use case where the user that gets the error is a coordinator for the space but is not the owner of the space and has no permissions whatsoever on the parent space.

Could you find any way around this?

thx

duxtinto
Champ in-the-making
Champ in-the-making
I have the same problem, but only in the 'User Homes' folder.
I have a 2.9b server on a centos 5.1, and everything was working ok, but suddenly, any time a user try to create a file on his 'User Folder' using WebDav access inside Microsoft Office tools the system give me this same error (I have found out that the Webdav LOCK request maden by the office tool gets this error answer).
The checked the user is already the owner of his User Folder and additionally I add the role Coordinator to this user, but it's still failing.

Do you have any idea about the reason?

Regards,

David.