Closed linyzeng closed 1 month ago
Hello
Default permissions are valid:
www-data has the right to write into /var/lib/php/sessions/ directory, I don't know why I should modify anything unless you give me a good reason to do so.
Please give more details on your issue.
No problem! My apologies for the incorrect feedback. Everything is working fine.
I tested it on a CentOS machine and it worked fine.
Upon comparison, I found that the issue was with the default umask of my operating system(Anolis OS), which is set to 0027 and can cause this problem. Most operating systems default umask is 0022.
Dockerfile needs to set the user of /var/lib/php/sessions to www-data:repomanager