Forum

Cannot create a doc...
 
Notifications
Retirer tout

Cannot create a document

6 Posts
2 Utilisateurs
0 Reactions
3,962 Vu
GEROMEGNACE
(@payoffice)
Posts: 3
Active Member
Début du sujet
 
[#908]

Hey,

I am new to Project'Or RIA and I try to create a document. Unfortunataly It failed. When I looked at the log file I found the following message:
*** ERROR ERROR
ERROR ERROR on file '/var/www/projectorria/model/Document.php' at line (216)
ERROR *** ERROR cause = mkdir(): Permission denied

I run Project'Or RIA 3.1.1 on ubuntu server.
Seem to be permissions issues but I can't resolved it.

Regards,

P.


 
Posté : 22 Jan PM 19:011
(@babynus)
Posts: 14952
Membre Admin
 

Go to screen Global Parameters.
Check "root directory for documents :"
The linux user running PHP (www-data) must have write rights to this directory.
You can change the target directory if you please, to put it out of web view.


 
Posté : 22 Jan PM 20:011
GEROMEGNACE
(@payoffice)
Posts: 3
Active Member
Début du sujet
 

Thank it helps me.
The problem that remains is that I have to update permissions for each new folder create from Project'Or RIA.

Regards,

P.


 
Posté : 22 Jan PM 21:011
(@babynus)
Posts: 14952
Membre Admin
 

I have to update permissions for each new folder create from Project'Or RIA.

Do you mean sub-folders of root document ?
If so, don't try to create them manually.
Just manage Directories on Project'Or RIA : sub-directories will be created by correct user, and so with correct rights.


 
Posté : 23 Jan AM 01:011
GEROMEGNACE
(@payoffice)
Posts: 3
Active Member
Début du sujet
 

I create sub-directories from Project'Or Ria and I have the same permissions problem. User www-data seem no have right to create directory.
When a sub-directories is create from Project'Or RIA it has the following permission
dr--r--r-t if I remember.

Regards,

P.


 
Posté : 23 Jan PM 14:011
(@babynus)
Posts: 14952
Membre Admin
 

www-data users creates directory with to few rights.
Default should be 755 or 775.
It seems you set 555 as default (using umask ?)


 
Posté : 24 Jan AM 11:011
Share:
Retour en haut