mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
Add phpMyAdmin temporary folder with needed rights
(See here: https://stackoverflow.com/questions/49730100/error-in-phpmyadmin-after-updating-to-v4-8-0-the-cfgtempdir-tmp-is-no)
This commit is contained in:
parent
3973cfe423
commit
1b277ad388
2 changed files with 6 additions and 0 deletions
|
@ -135,6 +135,9 @@ chown -R root: $final_path
|
|||
# config.inc.php contains sensitive data, restrict its access
|
||||
chown root:$app $final_path/config.inc.php
|
||||
chmod 640 $final_path/config.inc.php
|
||||
# Setup phpMyAdmin temporary folder
|
||||
mkdir $final_path/tmp
|
||||
chown $app: $final_path/tmp
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
|
@ -151,6 +151,9 @@ chown -R root: $final_path
|
|||
# config.inc.php contains sensitive data, restrict its access
|
||||
chown root:$app $final_path/config.inc.php
|
||||
chmod 640 $final_path/config.inc.php
|
||||
# Setup phpMyAdmin temporary folder
|
||||
mkdir $final_path/tmp
|
||||
chown $app: $final_path/tmp
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
Loading…
Reference in a new issue