We will change the group role to sudo within the File Permission subsection from:
File Permission
Change the file permission for the entire project by issuing the command:
cd /var/www
sudo chown -R jeffrey:admin audio-analyzer
Note: change 'jeffrey' to the user account YOU use.
Then, with the exception of the .gitignore file, ensure /var/www/audio-analyzer/audio is an empty directory, so that we can change it's ownership:
cd /var/www/audio-analyzer
sudo chown www-data:admin audio
to the following:
File Permission
Change the file permission for the entire project by issuing the command:
cd /var/www
sudo chown -R jeffrey:sudo audio-analyzer
Note: change 'jeffrey' to the user account YOU use.
Then, with the exception of the .gitignore file, ensure /var/www/audio-analyzer/audio is an empty directory, so that we can change it's ownership:
cd /var/www/audio-analyzer
sudo chown www-data:sudo audio/*
We will change the group role to sudo within the File Permission subsection from:
to the following: