[php-src] Issue #7848: Uploaded files are owned by root, only after calling fileowner function correct owner is set
| From: | DevDavido | Date: | Thu, 03 Feb 2022 12:35:28 +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-239431@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7848
Comment Author: DevDavido
The following output is without the call of
fileowner.
On host system:
> 8 -rw-r--r-- 1 501 20 901 Feb 3 13:28 file.txt
On container system:
> 4 -rw-r--r-- 1 0 0 901 Feb 3 12:28 file.txt
On container system (non-mounted directory):
> 4 -rw-r--r-- 1 33 33 901 Feb 3 12:28 file.txt
Indeed it makes a difference based on the result if the volume is mounted.