When user generates backup download file is created with root ownership.
Error page is displayed when trying to download backup:
HTTP error 401
download
You do not have permission to access this page.
Could not read file “/home/----/.jbm/downloads/download_----_544_full_1504082641.tar.gz” as uid 1140
Actual file exists but the owner is root.
output of log file:
[30/Aug/2017 08:44:01 +0000] JetBackup Version 3.1.27
[30/Aug/2017 08:44:01 +0000] Starting to process download #4)
[30/Aug/2017 08:44:01 +0000] Server process id "5276"
[30/Aug/2017 08:44:01 +0000] Connecting to backup detination...DONE
[30/Aug/2017 08:44:01 +0000] Checking if there is enough space on the local disk (minimum backup size + 500MB)...DONE - (Backup Size: 101.98 MB. Available Disk Space: 226.23 GB)
[30/Aug/2017 08:44:01 +0000] Retrieve backup file from destination...DONE
[30/Aug/2017 08:44:09 +0000] Moving the backup file to the download dir...DONE
[30/Aug/2017 08:44:10 +0000] Delete workspace junk...DONE
Error 401 when downloading backup
Re: Error 401 when downloading backup
Hi,
I couldn't replicate this issue on my side....
Owner seems fine, and I am able to download the files.
Can you please specify which backup destination are you using (I tried remote SSH in my test).
Thanks,
Eli.
I couldn't replicate this issue on my side....
Code: Select all
root@server15 [/home/compumed/.jbm/downloads]# ll
total 12
drwx------ 2 compumed compumed 4096 Sep 1 11:17 ./
drwx------ 3 compumed compumed 4096 Jun 8 2015 ../
-rw-rw---- 1 compumed compumed 171 Sep 1 11:17 download_compumed_3715_files_1504253836.tar.gz
root@israel15 [/home/compumed/.jbm/downloads]#
Can you please specify which backup destination are you using (I tried remote SSH in my test).
Thanks,
Eli.
Re: Error 401 when downloading backup
Server details:
[root@cp92 downloads]# uname -a
Linux cp92.---- 3.10.0-614.10.2.lve1.4.56.el7.x86_64 #1 SMP Wed Jun 21 18:37:06 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@cp92 downloads]# cat /etc/redhat-release
CloudLinux release 7.4 (Georgy Grechko)
[root@cp92 downloads]# ls -la
total 88
drwx------ 2 cp92cp cp92cp 4096 Sep 3 12:08 .
drwx------ 3 cp92cp cp92cp 4096 Sep 3 12:08 ..
-rw------- 1 root root 77872 Sep 3 12:08 download_cp92cp_632_full_1504429682.tar.gz
Is there a way to turn debug on?
[root@cp92 downloads]# uname -a
Linux cp92.---- 3.10.0-614.10.2.lve1.4.56.el7.x86_64 #1 SMP Wed Jun 21 18:37:06 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@cp92 downloads]# cat /etc/redhat-release
CloudLinux release 7.4 (Georgy Grechko)
[root@cp92 downloads]# ls -la
total 88
drwx------ 2 cp92cp cp92cp 4096 Sep 3 12:08 .
drwx------ 3 cp92cp cp92cp 4096 Sep 3 12:08 ..
-rw------- 1 root root 77872 Sep 3 12:08 download_cp92cp_632_full_1504429682.tar.gz
Is there a way to turn debug on?
Re: Error 401 when downloading backup
Hi,
Yes, you can turn on debug mode form the General settings.
I would like to take a further look on the server, can you please open a ticket with us providing server login details with a reference to this thread ?
Thanks,
Eli.
Yes, you can turn on debug mode form the General settings.
I would like to take a further look on the server, can you please open a ticket with us providing server login details with a reference to this thread ?
Thanks,
Eli.