cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to delete file even if user is the owner

piski
Champ on-the-rise
Champ on-the-rise
Hi all,

I am experiencing some troubles with file deletion (Alfresco 3.4.b) …

- In storage, EVERYONE is consumer by default
- In a folder, which inherits default access, my user is the owner of some documents (but the creator is someone else)

He can move the files which are owned but he can't delete them ! Share says "Impossible to delete {0} file" …
By CIFS, he can delete the files but when he refresh, we still see them … so the deletion don't work, like Share.

If I give him, temporarily, Coordinator role to enable him the right to add a document and I drop these rights after, he can delete file because he's the creator of the document.

So, after some tests, you cannot delete file if you are'nt the creator of the document, even if you are the owner of it.

Is this a known bug or is this an Alfresco will ?
If this is a bug, can I activate some "log4j" to have more details about the failed operation (message seems to be a "normal" error same as "When you haven't rights to do something) ?

As far as I knew, the owner of the document can move or delete file, even if the creator is someone else (except if the owner is "blank", the creator will be taken as the owner of the document), is this still right ?

I'm really stuck with this issue (even if I give to my user the Coordinator role) !

I think it's a "big issue" because when you load documents in mass, they are created by admin (another choice ?). The ability to define the owner after the procedure (by a script, a rule …), for a real use, is not effective so you are stuck for deletion files rights …

I hope my explanation is clear …

Thanks for your help !
5 REPLIES 5

piski
Champ on-the-rise
Champ on-the-rise
The issue seems to be related on : http://issues.alfresco.com/jira/browse/ALF-6192?page=com.atlassian.jira.plugin.system.issuetabpanels...

But this time, I have a weird issue which sounds like this (although with a small variant) :

A user is defined as Coordinator on a site. He loads documents in mass through CIFS and it works correctly … but he can't delete those file after the loading. He's the creator of them so … it's related on preview / thumbnails generation ?

Is this the same issue ???

Thanks for your reply !

boucher64
Champ in-the-making
Champ in-the-making
I do have the same issue.
All file operations where done through the Share interface
Coordinator (or a collaborator owner of the file ) cannot delete a file in a Site (Share running on community 3.4.b/RedHat)
Admin account can so my users  ask me to do it as admin…
So, another basic functionality that does not work right (I am still mad about the single pdf upload that crashes the JVM)
Please keep me posted if you find a solution.

Guy-Pierre Boucher
Polytechnique Montreal

mikeh
Star Contributor
Star Contributor
Does anyone have any log files for this issue? Or a way to reliably reproduce it (e.g. has someone else commented on the file beforehand?) Maybe dump the output of Explorer's node browser to see if that helps.

I am still mad about the single pdf upload that crashes the JVM
I think that's the bug in PDFBox that we're trying to help fix.

Thanks,
Mike

peho
Champ in-the-making
Champ in-the-making
Is there any news on this issue? As I mentioned in another post http://forums.alfresco.com/en/viewtopic.php?f=14&t=37928, I think I have the same problem in 3.4.d. I made all the users admin to work around this problem. Or has anybody  a better work around? By the way all users where Coordinators before I made them admins.

ssrjazz
Champ in-the-making
Champ in-the-making
How can I delete a file that has been 'uploaded' this way and the share interface won't let me delete?