Submitted by xkeywee on Tue, 07/01/2014 - 19:49
Hi
When a user is logged in as the Virtual Server Admin they cannot download files from the File Manager, it works fine for root login though.
I have attached a screen show showing the error that pops up.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 07/01/2014 - 20:36 Comment #1
Is this user allowed to transfer files to and from VMs according to his plan? That could be the reason why downloading files fails.
There is a separate Cloudmin bug here though, in that the error message isn't shown properly.
Submitted by xkeywee on Tue, 07/01/2014 - 20:53 Comment #2
The user can upload and edit files etc without an issue so I would expect they would have the rights to download
Submitted by JamieCameron on Thu, 07/03/2014 - 01:06 Comment #3
Ok, I see the bug that causes this - it will be fixed in the next release.
Submitted by xkeywee on Fri, 07/04/2014 - 20:15 Comment #4
Thanks Jamie
Submitted by Issues on Fri, 07/18/2014 - 20:21 Comment #5
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by xkeywee on Sun, 08/03/2014 - 20:07 Comment #6
Hi Jamie
Just wondering when the release that fixes this will be available?
Cheers Greg
Submitted by andreychek on Sun, 08/03/2014 - 20:17 Comment #7
Virtualmin 4.09, which came out two weeks ago, should contain that fix. Let us know if that works for you.
Submitted by xkeywee on Sun, 08/03/2014 - 20:23 Comment #8
Hi Jamie
I tested it earlier and it still had the same error, I installed the updates last week, currently using
Webmin version 1.690
Virtualmin version 4.09 Pro
Cheers Greg
Submitted by andreychek on Sun, 08/03/2014 - 20:26 Comment #9
Hrm, I take that back, I'm not sure which component Jamie applied that fix to.
If it was a Webmin fix, it would be available in this Webmin development release:
http://download.webmin.com/devel/deb/webmin_1.692_all.deb
There hasn't been a new Cloudmin release since Jamie fixed that issue.
But we may need Jamie's input regarding where that fix was applied :-)
Submitted by JamieCameron on Sun, 08/03/2014 - 21:25 Comment #10
Sorry, I was wrong when I said this was fixed in Virtualmin 4.09, as it isn't a Virtualmin bug - it is a Cloudmin problem. We should have a new Cloudmin release out in less than a week, that will include the fix.
Submitted by xkeywee on Sun, 08/03/2014 - 23:10 Comment #11
Thanks for the update Jaime
Submitted by xkeywee on Wed, 10/01/2014 - 18:20 Comment #12
Hi
This still doesn't work, any chance we can get this sorted as I now have multiple clients complaining.
Cheers Greg
Submitted by JamieCameron on Wed, 10/01/2014 - 18:24 Comment #13
We plan to release a new Cloudmin in a few days - however, if you'd like a pre-release version that includes this fix, let me know.
Submitted by xkeywee on Wed, 10/01/2014 - 18:52 Comment #14
Hi Jamie
A few days is fine.
Cheers Greg
Submitted by xkeywee on Sun, 01/11/2015 - 17:33 Comment #15
Hi Jamie
Just wondering how you are going resolving this issue.
Your last comments talked about Cloudmin but this is a Webmin issue
Cheers Greg
Submitted by JamieCameron on Sun, 01/11/2015 - 17:52 Comment #16
Which Cloudmin version are you running there - the latest release should already include this fix?
Submitted by xkeywee on Sun, 01/11/2015 - 18:31 Comment #17
Hi Jamie
We are not running Cloudmin, just Virtualmin Pro which includes Webmin
Cheers Greg
Submitted by JamieCameron on Sun, 01/11/2015 - 22:36 Comment #18
@xkeywee - you may be seeing a different issue then.
Are you getting the exact same error message as the original poster?
Submitted by xkeywee on Sun, 01/11/2015 - 22:51 Comment #19
Hi jamie
Still getting exactly the same error message as per my original post.
Cheers Greg
Submitted by JamieCameron on Mon, 01/12/2015 - 15:20 Comment #20
Can you post what gets logged to
/var/webmin/miniserv.error
when you hit that error message?Submitted by xkeywee on Mon, 01/12/2015 - 16:51 Comment #21
Hi Jamie
It added the following lines
[13/Jan/2015:08:47:33 +1000] [10.232.0.125] /images/lang.png : File not found
[13/Jan/2015:08:47:36 +1000] Reloading configuration
Failed to initialize SSL connection
[13/Jan/2015:08:47:41 +1000] [10.232.0.125] /images/lang.png : File not found
Error: Failed to create temp directory /data/tmp-pk4a : uid= mode=
Cheers Greg
Submitted by JamieCameron on Mon, 01/12/2015 - 17:56 Comment #22
That "failed to create temp directory" message could be responsible. Does it get logged every time you try to open the file manager?
Submitted by xkeywee on Mon, 01/12/2015 - 18:18 Comment #23
Hi Jamie
It only added the "failed to create temp directory" when you try to download (Save) as file and are logged in as the Admin user, it works fine when logged in as Root user.
I think you are right, the setup we have has the virtual server folders in /data/home/ and the /data folder only has root rights so the Admin user cannot create a tmp folder in the /data folder, can we change it so that is creates the tmp folder in /data/home instead.
Cheers Greg
Submitted by JamieCameron on Mon, 01/12/2015 - 19:03 Comment #24
Do you perhaps have a custom temp directory configured in Webmin, in the Webmin Configuration module? If this is set to something that domain owners cannot access, that could cause problems.
Submitted by xkeywee on Mon, 01/12/2015 - 19:32 Comment #25
Thanks Jamie
You are correct, we use a custom temp folder and the owners could not access it, have corrected that and it now works perfectly.
Thanks again for your time.
Cheers Greg
Submitted by JamieCameron on Mon, 01/12/2015 - 22:21 Comment #26
Submitted by Issues on Mon, 01/26/2015 - 22:23 Comment #27
Automatically closed -- issue fixed for 2 weeks with no activity.