Now I am using the root account to update the code. Previously, all the users and groups in the kernel. php file are www. now, after the update is complete, it becomes root. Is there any way to keep the changes .:
Now I use the root account to update the code. Previously, all the users and groups in the kernel. php file were www, and now they are changed to root after the update. Is there any way to keep the changes.
:
Reply content:
Now I use the root account to update the code. Previously, all the users and groups in the kernel. php file were www, and now they are changed to root after the update. Is there any way to keep the changes.
:
The simplest way is to switchWwwThe user can pull the code again, or useChown-R www: www.To re-update the owner.
Use the built-in linuxAliasJust map the alias.
Alias wwwgit = 'Su-www-c git'
And then useWwwgitTo replace git.
This is an idea, not tested