cd /srv/http
# set owner to you
sudo chown -R you example1.com example2.com
# set group to http
sudo chgrp -R http example1.com example2.com
sudo chmod g+s example1.com example2.com
# remove any permissions for others
sudo chmod -R o-rwx example1.com example2.com
Created
October 31, 2021 13:51
-
-
Save amekusa/56426a2c837617ca6c8045498b934327 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment