lbr38 / repomanager

A web UI to mirror rpm or deb packages repositories.
GNU General Public License v3.0
50 stars 7 forks source link

Docker cannot login #166

Closed linyzeng closed 1 month ago

linyzeng commented 1 month ago

Dockerfile needs to set the user of /var/lib/php/sessions to www-data:repomanager

lbr38 commented 1 month ago

Hello

Default permissions are valid:

image

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.

linyzeng commented 1 month ago

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.