title: How to fix Error executing process Utility 'pg_restore' not found in client home '/usr/lib' (/usr/lib)?
body: <p>I want to restore database backup and I'm using ubuntu 20.04, dbeaver and postgresql 12.</p>
  <p>When I want to add <code>Local client</code> then <code>Add home</code> I get <code>permission denied error</code></p>
  <p><a href="https://i.stack.imgur.com/jwB5A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jwB5A.png" alt="enter image description here" /></a></p>
  <p>running command <code>which psql</code> resulting in <code>/usr/bin/psql</code>.</p>
  <p>I know that the postgresql path is <code>/usr/lib/postgresql/12/bin</code>, but the problem is that I can't access the psql path with dbeaver.</p>
  <p>I also granted all permissions for dbeaver.<a href="https://i.stack.imgur.com/YGN1y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YGN1y.png" alt="enter image description here" /></a></p>
  <p>here is the actual error i get:</p>
  <p><a href="https://i.stack.imgur.com/tgEov.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tgEov.png" alt="enter image description here" /></a></p>
  <p>is there any way to fix the issue?</p>