Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. sudo setfacl -dR -m u:teamcity:rwx /var/www/myapp
  2.  
  3. getfacl /var/www/myapp
  4. getfacl: Removing leading '/' from absolute path names
  5. # file: var/www/app1
  6. # owner: root
  7. # group: root
  8. user::rwx
  9. group::r-x
  10. other::r-x
  11. default:user::rwx
  12. default:user:teamcity:rwx
  13. default:group::r-x
  14. default:mask::rwx
  15. default:other::r-x
  16.  
  17. cp: cannot create regular file '/var/www/myapp/appsettings.json': Permission denied
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement