Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- My goal here is to allow me remote ssh access for me to /var/www
- my user name is acidrain.
- what i have done:
- sudo usermod -a -G www-data acidrain
- sudo chown -R www-data:www-data /var/www
- sudo chmod -R g+rw /var/www
- This works. Now my current issue is when i login via ssh, and browse to /var/www and upload a file, its ownership is now acidrain:acidrain.
- This now makes it so i cannot modify(delete, overwrite, read) files.
- Please help.
- Im asking in #ubuntu because this is a linux based issue for me. NOT ssh.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement