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

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
  • 40,956