Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. My goal here is to allow me remote ssh access for me to /var/www
  2. my user name is acidrain.
  3.  
  4. what i have done:
  5. sudo usermod -a -G www-data acidrain
  6. sudo chown -R www-data:www-data /var/www
  7. sudo chmod -R g+rw /var/www
  8.  
  9. 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.
  10. This now makes it so i cannot modify(delete, overwrite, read) files.
  11.  
  12. Please help.
  13. 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