Submitted by warphost on Tue, 12/20/2016 - 06:12
As a virtual server administrator, when you try to create a backup of a database, the process fails. It tries to write to /tmp/.webmin/"whatever" instead of /home/"virtualserver"/tmp - perhaps this is intentional wrt disk space/quota usage.
The database file appears to download in the browser, but then contains this:
"Database backup failed : mysqldump failed :
sh: 1: cannot create /tmp/.webmin/516924_6097_1_backup_db.cgi: Permission denied
<
p>"
Just to clarify, the path to this is [Virtualmin Menu] > Edit Databases > Manage (a database), Backup Database.
Performing this same action as the Superuser admin works normally, as expected.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 12/20/2016 - 10:38 Comment #1
What are the permissions on
/tmp/.webmin
on your system? The commandls -ld /tmp/.webmin
will show them.Submitted by warphost on Thu, 12/22/2016 - 04:28 Comment #2
drwxr-xr-x 2 root root 4096 Dec 22 10:26 /tmp/.webmin
Submitted by JamieCameron on Thu, 12/22/2016 - 23:40 Comment #3
OK, I see the bug that causes this now - this will be fixed in the next (1.830) Webmin release.
Submitted by JamieCameron on Thu, 12/22/2016 - 23:40 Comment #4
Submitted by Anonymous on Thu, 01/05/2017 - 23:46 Comment #5
Automatically closed - issue fixed for 2 weeks with no activity.
Submitted by warphost on Fri, 01/06/2017 - 10:26 Comment #6
Many thanks Jamie (& team)!
Submitted by arminh on Tue, 03/21/2017 - 07:56 Comment #7
Hi, I have the exact same problem as reported by "warphost".
Our platform: Centos 6 Virtualmin: 5.06gpl Webmin v.: 1.831 Theme: Virtaulmin Framed theme, Authentic theme Permissions on /tmp/.webmin
drwxr-xr-x 2 root root 4096 Mar 21 13:37 /tmp/.webmin
Thanks Armin