Optimisation of Setting Up Permission

Replace www-data by the current user running apache using command line