[php-src] PR #20626: Fix bug #74357: lchown fails to change ownership of symlink with ZTS
| From: | bukka | Date: | Sun, 30 Nov 2025 14:32:49 +0000 |
| Subject: | [php-src] PR #20626: Fix bug #74357: lchown fails to change ownership of symlink with ZTS | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34185@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20626
Author: bukka
Currently, it is not possible to change the owner of the link file in ZTS mode because
virtual_chmod calls virtual_file_ex with CWD_REALPATH that
causes reading the link and updating the path. This changes it CWD_EXPAND which does not do.