That is a poor approach.
If you want your user to have write permissions in /var/www you should set the permissions appropriately, probably as part of a group.
Check the existing permissions.
NOTE: You DO NOT want your web server user (www-data) to have write permissions to the webroot.
If you want your user to have write permissions in /var/www you should set the permissions appropriately, probably as part of a group.
Check the existing permissions.
NOTE: You DO NOT want your web server user (www-data) to have write permissions to the webroot.
Statistics: Posted by dilberts_left_nut — 2024-01-14 04:38 — Replies 1 — Views 145