Guest User

Untitled

a guest
Sep 6th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. [user@localhost ~]$ sudo -u postgres psql
  2. [sudo] password for user:
  3. could not change directory to "/home/user"
  4. Password:
  5. psql (9.2.24)
  6. Type "help" for help.
  7.  
  8. postgres=# c db
  9. You are now connected to database "db" as user "postgres".
  10. rob=# i /home/user/Downloads/dump.sql
  11. /home/user/Downloads/dump.sql: `Permission denied`
  12.  
  13.  
  14.  
  15. [root@localhost ~]# ls -Z dump.sql
  16. -rw-rw-rw-. postgres postgres unconfined_u:object_r:user_home_t:s0 dump.sql
Add Comment
Please, Sign In to add comment