Re: [Bacula-devel] Restore to directory pointed by a symlink

2018-04-10 Thread Martin Simmons
> On Tue, 10 Apr 2018 08:32:45 +0200, Radosław Korzeniewski said: > > 2018-04-09 13:42 GMT+02:00 Martin Simmons : > > > Restoring through a symlink can cause a security vulnerability (see > > https://cwe.mitre.org/data/definitions/61.html). > > > > I'm not sure if this

Re: [Bacula-devel] Restore to directory pointed by a symlink

2018-04-10 Thread Radosław Korzeniewski
Hello Kern, 2018-04-09 18:19 GMT+02:00 Kern Sibbald : > I don't think we support symlinks for the restore. Of course the error > message is not very explicit. > I do not understand your response. I can restore a symlink from backup without a problem. I have a problem restoring

Re: [Bacula-devel] Restore to directory pointed by a symlink

2018-04-10 Thread Radosław Korzeniewski
Hello Martin, 2018-04-09 13:42 GMT+02:00 Martin Simmons : > Restoring through a symlink can cause a security vulnerability (see > https://cwe.mitre.org/data/definitions/61.html). > I'm not sure if this CWE apply in this situation (I could be wrong) but I accept the

Re: [Bacula-devel] Restore to directory pointed by a symlink

2018-04-09 Thread Kern Sibbald
I don't think we support symlinks for the restore.  Of course the error message is not very explicit. On 04/09/2018 08:58 AM, Radosław Korzeniewski wrote: Hello, I have a following setup:

Re: [Bacula-devel] Restore to directory pointed by a symlink

2018-04-09 Thread Martin Simmons
Restoring through a symlink can cause a security vulnerability (see https://cwe.mitre.org/data/definitions/61.html). __Martin > On Mon, 9 Apr 2018 08:58:42 +0200, Radosław Korzeniewski said: > > Hello, > > I have a following setup: > > *ver > pve-dir Version: 9.0.6 (20 November 2017)

[Bacula-devel] Restore to directory pointed by a symlink

2018-04-09 Thread Radosław Korzeniewski
Hello, I have a following setup: *ver pve-dir Version: 9.0.6 (20 November 2017) x86_64-pc-linux-gnu debian 9.4 # ls -ld /opt/bacula-devel/archive lrwxrwxrwx 1 root root 8 Mar 28 17:03 /opt/bacula-devel/archive -> /archive and my /archive is a mounted external storage. During restore I've got