Users rights on extensions
kranack opened this issue · comments
Environment
Windows 2016 Server
PHP 7.3.x
PHPManager 1.20.0
Issue Description
When installing extensions with the PHPManager module, the rights applied on the files are not those I'm expecting. I installed PHP and ImageMagick with Chocolatey and installed ssh2, mongodb and imagick PHP extensions with your module on my windows. Chocolatey seems to apply additionnal read/execute rights for standard users when PHPManager only add the current user rights (here, administrator).
Here's some screenshots to make it more comprehensible.
There are the rights applied to sqlite3 extension, "Utilisateurs" refers to all "Users" on the machine I think.
There are the rights applied to imagick extension, "J2S" is the user who installed the extension.
I've managed to copy rights with the Get-Acl and Set-Acl commands but I wonder if it could be possible to set these rights "in the Chocolatey way" instead of using the current user (I have no clue of how it's working for Windows).
The brand new PHPManager version 1.22.1 should solve this issue.