Closed yuuyins closed 2 years ago
Thank you very much and we will check and fix it.
BTW, my email is chunsheng@easycorp.ltd. Could you leave your email or contact me please? Is it possiable that you join us? Thank you.
@easysoft i just sent you an email
in case you didn't receive it my email is yuuyin@protonmail.com you can contact me
@yuuyins Thanks for your report, SeLinux denied the access. https://stackoverflow.com/questions/29343809/php-is-writable-function-always-returns-false-for-a-writable-directory
These commands will fix this issue: sudo chcon -R -t httpd_sys_rw_content_t /opt/zentao/tmp sudo chcon -R -t httpd_sys_rw_content_t /opt/zentao/www/data
@xia0ta0 That fixed it. Thank you so much and sorry for taking so long to reply.
Happened
On Zentao installation’s system checkup
http://127.0.0.1/zentao/install.php?m=install&f=step1
, Zentao fails to check that/opt/zentao/tmp/
and/opt/zentao/www/data
and their contents, recursively, have the expected permissionso=rwx
.See tree_-p_opt.log
https://user-images.githubusercontent.com/86538850/134259497-010f3739-f977-49ef-addd-f6ca399422a9.mp4
Expected
If
/opt/zentao/tmp/
and/opt/zentao/www/data
and their contents recursively have the expected permissionso=rwx
, tests forTemp Directory
andUploaded File Directory
arePassed(√)
and user can continue installing Zentao.Reproduce
sudo yum -y install git make zip unzip tar rpm-build mysql-server php php-json php-ldap php-pdo php-mysqlnd php-mbstring httpd
git clone https://github.com/easysoft/zentaopms.git
cd zentaopms && git checkout a14ee06288af519d4ccec8492320987ffe678fb6
make endeb
fromen:
target ofMakefile
make en
sudo rpm -ivh --force zentaoalm-15.3.int-1.noarch.rpmzentaoalm-15.3.int-1.noarch.rpm
Insert the following line at
/etc/httpd/conf/httpd.conf
sudo systemctl enable --now httpd.service
Start
Next
Temp Directory
andUploaded File Directory
areFailed(×)
sudo chmod -Rv o=rwx /opt/zentao/tmp && sudo chmod -Rv o=rwx /opt/zentao/www/data
Refresh
Temp Directory
andUploaded File Directory
areFailed(×)
System information