[php-src] Issue #7848: Uploaded files are owned by root, only after calling fileowner function correct owner is set
| From: | iluuu1994 | Date: | Thu, 03 Feb 2022 13:15:20 +0000 |
| Subject: | [php-src] Issue #7848: Uploaded files are owned by root, only after calling fileowner function correct owner is set | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239434@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7848
Comment Author: iluuu1994

I ran
sudo chown -R $(whoami):www-data . on my root directory. Does this work for you?
Are the permission of the src directory and the other non-mounted directory you tested
with the same? Also, can you use ls -lah to list the directory? It's a little hard
to tell what is what with the UID instead of the user name.