I recently updated webmin and usermin installation to their latest versions (webmin 1.831, usermin 1.701).
The machine is a webserver (CentOS 7.1) using Virtualmin and giving web access to virtual host owners through Usermin.
Now, the problem:
While logged in on webmin as root, MySQL module has the good old button "Drop Database" which functions as expected.
On the contrary, when logging in usermin as a "normal" user (virtual host owner), the button says "Empty Database" and when I press it, I get the error "Error - File not found".
Checking usermin's miniserv.log file I see the messages:
GET /mysql/edit_dbase.cgi?db=databasename HTTP/1.1" 200 8997
GET /mysql/table_form.cgi?db=databasename&fields=4&dropdb=Empty+Database HTTP/1.1" 302 0
GET /mysql/drop_dbase.cgi?db=databasename HTTP/1.1" 404 32
miniserv.error also: [my.IP] /mysql/drop_dbase.cgi : File not found
I checked directory /usr/libexec/usermin/mysql where I guess the file drop_dbase.cgi should be but it's not there. Instead there is a file drop_tables.cgi that seems relevant.
Is it a bug or a settings error?
Is there any way to fix the problem?
Thanks in advance,
Panos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I recently updated webmin and usermin installation to their latest versions (webmin 1.831, usermin 1.701).
The machine is a webserver (CentOS 7.1) using Virtualmin and giving web access to virtual host owners through Usermin.
Now, the problem:
While logged in on webmin as root, MySQL module has the good old button "Drop Database" which functions as expected.
On the contrary, when logging in usermin as a "normal" user (virtual host owner), the button says "Empty Database" and when I press it, I get the error "Error - File not found".
Checking usermin's miniserv.log file I see the messages:
GET /mysql/edit_dbase.cgi?db=databasename HTTP/1.1" 200 8997
GET /mysql/table_form.cgi?db=databasename&fields=4&dropdb=Empty+Database HTTP/1.1" 302 0
GET /mysql/drop_dbase.cgi?db=databasename HTTP/1.1" 404 32
miniserv.error also:
[my.IP] /mysql/drop_dbase.cgi : File not found
I checked directory /usr/libexec/usermin/mysql where I guess the file drop_dbase.cgi should be but it's not there. Instead there is a file drop_tables.cgi that seems relevant.
Is it a bug or a settings error?
Is there any way to fix the problem?
Thanks in advance,
Panos