0

I have installed Barman, but I am unable to find the configuration file /etc/barman.conf.

When I try to open the file I have this message: bash: /etc/barman.conf: Permission denied

  • Do you mean there is no such file (after installing `barman`) or that you don't know how to find it? –  Sep 08 '17 at 14:10
  • When i try to open the file i have this message : "bash: /etc/barman.conf: Permission denied" – Lucie Carmen Djoken Sep 08 '17 at 14:22
  • 2
    Perfectly normal. Your user has permission in you 'userspace' only. The file you want to open is owned by `root`. You can open it with `sudo -H gedit /etc/barman.conf`. –  Sep 08 '17 at 14:27

1 Answers1

2

Your user has permissions in your ‘userspace’ only.

The file you want to open is owned by root.

You can open it with sudo -H gedit /etc/barman.conf where sudo gives you temporary elevated permissions (as root), the -H (HOME) option requests that the security policy set the HOME environment variable to the home directory of the target user (root by default) and gedit is the default text editor in any Gnome based distro.

dessert
  • 39,392
  • 12
  • 115
  • 163