Page 1 of 1

Apache2 Raspberry Pi Setup

Posted: Thu Aug 09, 2018 3:46 am
by RazorzEdGe
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?:

Code: Select all

sudo usermod -a -G www-data pi

Code: Select all

sudo chgrp -R www-data /var/www

Code: Select all

sudo chmod -R g+w /var/www

Code: Select all

sudo chmod g+s /var/www
I've already removed "pi" from the group

Code: Select all

sudo deluser pi www-data