[SOLVED] Can't open files in ECM

When I want to open a file on my ECM in Dolibarr I have this error

[code]
Accès non autorisé.
Vous essayez d’accéder à une page, zone ou fonction sans être au sein d’une session authentifiée ou qui n’est pas autorisée pour votre compte utilisateur.

Login courant: gauthier
Les permissions pour ce login peuvent être attribuées par l’administrateur Dolibarr via le menu Accueil -> Utilisateurs. [/code]

Dolibarr 2.6

And what about the permission Read documents in permissions for the user used ?

The user have all premissions (and he is admin)
I try with the admin user, same problem

I have just upgrade to 2.6 from 2.4.1, maybe a problem during upgrade ?

I can’t upload new file too…

I create a new user to try but, same issue.

It’s very tricky because all my users can’t use their files :s

EDIT: SOLVED
I disable, and enable the module and now I can open my file.

BUT, I can’t delete any file !
I delete, validate my delete, dolibarr inform me that the file is deleted but it’s still here.

The nomber of file in the directory is minused by 1 (actually it display -1) :blink:

I solved this too.

It was right premission on file. Owner was root, instead of apache.

But, I think you should make more test on file before deletion to this problem :wink: