Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [user@localhost ~]$ sudo -u postgres psql
- [sudo] password for user:
- could not change directory to "/home/user"
- Password:
- psql (9.2.24)
- Type "help" for help.
- postgres=# c db
- You are now connected to database "db" as user "postgres".
- rob=# i /home/user/Downloads/dump.sql
- /home/user/Downloads/dump.sql: `Permission denied`
- [root@localhost ~]# ls -Z dump.sql
- -rw-rw-rw-. postgres postgres unconfined_u:object_r:user_home_t:s0 dump.sql
Add Comment
Please, Sign In to add comment