Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session Owner problem #16

Open
mauitz opened this issue Dec 15, 2022 · 0 comments
Open

Session Owner problem #16

mauitz opened this issue Dec 15, 2022 · 0 comments

Comments

@mauitz
Copy link

mauitz commented Dec 15, 2022

Hello there!
I created a user login, but the session file is created as root and after the redirect post login, it's lost.

Here is an example of my session folder:
root@fc6efdbb31d0:/var/www/symfony# ll var/sessions/dev/ total 28 drwxr-xr-x 9 www-data www-data 288 Dec 15 13:19 . drwxr-xr-x 3 www-data www-data 96 Dec 15 11:39 .. -rw------- 1 root root 165 Dec 15 13:18 sess_06e7a9a8c7fba9cf4cbd88017b320951 -rw------- 1 root root 664 Dec 15 13:19 sess_2c5510a07cd78830c3ae819251fb1534 -rw------- 1 www-data www-data 664 Dec 15 12:52 sess_2dcc4a8d4e055368c644b65387f28c44 -rw------- 1 www-data www-data 664 Dec 15 12:38 sess_6c5b1267748fb14f1f9f264285c8152c -rw------- 1 www-data www-data 165 Dec 15 12:52 sess_865851975c66178b34c093a301f421c8 -rw------- 1 www-data www-data 165 Dec 15 12:37 sess_878aea56cb302b85317b81c2fb85e42c -rw------- 1 root root 115 Dec 15 13:19 sess_ffa652566dd353f6bb7dba4a36daae7a

The www-data files exists because I try to change the permissions, but the new files are created as root anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant