Forum

Cannot create a doc...
 
Notifications
Clear all

Cannot create a document

6 Posts
2 Users
0 Reactions
3,963 Views
GEROMEGNACE
(@payoffice)
Posts: 3
Active Member
Topic starter
 
[#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.


 
Posted : 22 Jan 2013 19H36
(@babynus)
Posts: 14952
Member 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.


 
Posted : 22 Jan 2013 20H00
GEROMEGNACE
(@payoffice)
Posts: 3
Active Member
Topic starter
 

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.


 
Posted : 22 Jan 2013 21H35
(@babynus)
Posts: 14952
Member 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.


 
Posted : 23 Jan 2013 1H10
GEROMEGNACE
(@payoffice)
Posts: 3
Active Member
Topic starter
 

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.


 
Posted : 23 Jan 2013 14H58
(@babynus)
Posts: 14952
Member 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 ?)


 
Posted : 24 Jan 2013 11H57
Share:

Scroll to Top