Apache2 Raspberry Pi Setup
Posted: Thu Aug 09, 2018 3:46 am
I was trying to setup my Pi to be able to write to the document root folder of the apache2 server through SMB when using my Windows machine following this guide https://support.rackspace.com/how-to/ho ... rmissions/ and I want to revert back and undo these commands but I am having trouble doing so. Does anybody know how I could reverse the commands that I used below?:
I've already removed "pi" from the group
Code: Select all
sudo usermod -a -G www-data piCode: Select all
sudo chgrp -R www-data /var/wwwCode: Select all
sudo chmod -R g+w /var/wwwCode: Select all
sudo chmod g+s /var/wwwCode: Select all
sudo deluser pi www-data