View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Rights screenCustomization_V5.0 - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

[SOLVED] Rights screenCustomization_V5.0

More
26 Déc 2017 10:54 #1 by cbnt
Hello,

I tried to install plugin screenCustomization v5.0 ont Projeqtor v6.5.1. I got an error like this :

2017-12-26 13:37:07.999 ===== TRACE ===== New plugin found : screenCustomization_V5.0.zip
2017-12-26 13:37:08.008 ===== TRACE ===== Plugin unzipped succefully
2017-12-26 13:37:08.009 ***** ERROR ***** [V6.5.1] ERROR *****
2017-12-26 13:37:08.009 ***** ERROR ***** [V6.5.1] on file '/appli/projects/projeqtor/apache_2.4/htdocs/projeqtor/projeqtor/model/Plugin.php' at line (171)
2017-12-26 13:37:08.009 ***** ERROR ***** [V6.5.1] cause = copy(../view/css/images/iconScreenCustomization16.png): failed to open stream: Permission denied

For information, the file is uploaded trought the web interface, in the plugin section.
You have to know that on my server, MySQL is installed with a user named "w3user" (files/folders installation for the database) and Apache with a user named "webadm". These 2 users are in the same group named "webgrp".

When file is uploaded, i see :
-rw-rw-r-- 1 w3user webgrp 468172 Dec 26 13:47 screenCustomization_V5.0.zip

When i launch the installation with the web interface, i see these rights ans I get the error above.
drwxrwxr-x 5 w3user webgrp 4096 Dec 26 13:48 screenCustomization
-rw-rw-r-- 1 w3user webgrp 468172 Dec 26 13:47 screenCustomization_V5.0.zip

Rights in the destination folder are fine for me :
view/css/images drwxrwxr-x 2 webadm webgrp 36864 Dec 26 12:54 .

Is there a way to manuallay install my uloaded plugin with differents rights ?
I saw in the other parts of the forum that php files must "apache" owner. Does it the same with .sql files ? .js files ? .xml files ?

Thanks for your answers / suggestions

Please Connexion or Create an account to join the conversation.

More
31 Déc 2017 12:56 #2 by babynus
This is an acces right issue.
But it is strange as reported issue is not relevant with your access rights.
Possibily issue is not on the target, but on the source.
Web user must have write access right on whole folder "plugin"

Try and manually unzip the plugin file and check access rights to unzipped folder (the one with the name of the plugin)
You should try and fiw access right to us install procedure.
Manual install will sure not be complete.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
02 Jan 2018 09:44 #3 by cbnt
Hello,

Thank you for your answer.
I agree there is something strange. We have modified the access rights to 777 on the folder ../view/css/images/*. Then the plugin installed sucessfully.

2017-12-27 12:57:27.036 ===== TRACE ===== New plugin found : screenCustomization_V5.0.zip
2017-12-27 12:57:27.048 ===== TRACE ===== Plugin unzipped succefully
2017-12-27 12:57:27.058 ===== TRACE ===== Plugin descriptor information :
2017-12-27 12:57:27.058 ===== TRACE ===== => name : screenCustomization
2017-12-27 12:57:27.058 ===== TRACE ===== => description : Customization of screens
2017-12-27 12:57:27.058 ===== TRACE ===== => version : 5.0
2017-12-27 12:57:27.058 ===== TRACE ===== => compatibility : V6.4.2
2017-12-27 12:57:27.058 ===== TRACE ===== =====================================
2017-12-27 12:57:27.058 ===== TRACE =====
2017-12-27 12:57:27.059 ===== TRACE ===== PLUGIN SQL FILE : ../plugin/screenCustomization/screenCustomization.sql
2017-12-27 12:57:27.059 ===== TRACE =====
2017-12-27 12:57:27.061 ===== TRACE ===== 1 lines inserted into table "menu".
2017-12-27 12:57:27.063 ===== TRACE ===== 1 lines inserted into table "habilitation".
2017-12-27 12:57:27.071 ===== TRACE ===== Table "plgcustomlist" created.
2017-12-27 12:57:27.080 ===== TRACE ===== Index "plgcustomlistScope" created.
2017-12-27 12:57:27.080 ===== TRACE =====
2017-12-27 12:57:27.080 ===== TRACE ===== DATABASE UPDATED
2017-12-27 12:57:27.080 ===== TRACE ===== WITH NO ERROR
2017-12-27 12:57:27.080 ===== TRACE =====
2017-12-27 12:57:27.080 ===== TRACE ===== Plugin updated database with 0 errors from script ../plugin/screenCustomization/screenCustomization.sql
2017-12-27 12:57:27.633 ===== TRACE ===== Plugin screenCustomization V5.0 completely deployed


Here the users/rights in the folder projeqtor :

view
drwxrwxrwx 7 webadm webgrp

css
drwxrwxrwx 4 webadm webgrp

images
drwxrwxrwx 2 webadm webgrp

It seems that "other" needs write access to the folder. Is there any other accounts that needs rights to install ? May be the problem is between accounts/groups/rights on the system.

Before solving this issue, i would try to set 775 rights on the folder and test the plugin in the interface.

Best regards,

Please Connexion or Create an account to join the conversation.

More
03 Jan 2018 14:58 #4 by babynus

It seems that "other" needs write access to the folder. Is there any other accounts that needs rights to install ? May be the problem is between accounts/groups/rights on the system.

As long I as know, only user running PHP must have write access to the folders.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
09 Jan 2018 09:47 #5 by cbnt
I've modified with 775 rights /view/css/images. Plugin seems to be ok.
Thank for your help.

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.044 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.