Skip to content

Session Owner problem #16

Open
Open
@mauitz

Description

@mauitz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions