PHPStorm changes User and Usergroup of deployed file to webserver

I word on Ubuntu 24.04.1 LTS and PhpStorm 2024.3.1

when i change files locally and deploy them to my webserver, which is a raspberry pi 4 model b with 8GB, the user and the usergroup of the deployed file is changed, instead of www-data:www-data, it is <ssh-username>:gpio so the nginx server could not serve this file anymore. how can i solve this problem?

 

Kind regards

Bilal Kuzey

0

Hi Bk1405bgl,

PhpStorm does not have mechanisms to modify ownership: https://youtrack.jetbrains.com/issue/WI-3343. Only permissions can be overwritten in Settings | Build, Execution, Deployment | Deployment | Options > under the Override default permissions on files or Override default permissions on folders.

0

请先登录再写评论。