i'm
using magento 2 in local setup in ubuntu 18
when every time i run cmds
php bin/magento s:s:d -f
php bin/magento s:up
php bin/magento s:d:c
the file permission changed how to give proper file permission in ubuntu local setup
i already give permission with
sudo chmod -R 777 /var/wwww/html/myproject/
sudo chmod -R 777 /var/www/html/myproject/pub/
any ideas??