You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps a misconfiguration on my end, but this plugin has the possiblity of breaking file permissions.
For example, under a normal apache setup (files/folders owned like webdr:apache)
/var/www/html
|->test
|->test.php
Editing test.php, would cause the saved changes to be saved in a brand new file owned by webdr and owned by group webdr, completely breaking file permissions structure and normal operating procedure for VIM.
If it was a misconfiguration, More instructions are needed to ensure that this doesn't happen. Otherwise, this plugin is completely and totally unusable in normal environments.
The text was updated successfully, but these errors were encountered:
KexinLu
pushed a commit
to KexinLu/vim-phpfmt
that referenced
this issue
Aug 24, 2017
Cause: we make a copy of the file then format the copied file, but
this file's owner ship and permission are not preserved.
Solution: overwrite file content of current file directly
Perhaps a misconfiguration on my end, but this plugin has the possiblity of breaking file permissions.
For example, under a normal apache setup (files/folders owned like webdr:apache)
/var/www/html
|->test
|->test.php
Editing test.php, would cause the saved changes to be saved in a brand new file owned by webdr and owned by group webdr, completely breaking file permissions structure and normal operating procedure for VIM.
If it was a misconfiguration, More instructions are needed to ensure that this doesn't happen. Otherwise, this plugin is completely and totally unusable in normal environments.
The text was updated successfully, but these errors were encountered: