File Manager issue for jailed users

Filemin error for jailed owners. Unable to browse files when clicking on catalogs tree. How to fix it?

Status: 
Closed (fixed)

Comments

Assigned: Unassigned »

Howdy -- thanks for your report!

I'm passing this to Jamie for further comment.

Odd, I can't re-produce this. Which Webmin and Virtualmin version are you running there?

debian 9
virtualmin: 6.08
webmin: 1.932

This error is only for jailed owners when clicking in directory tree.
In my configuration jails are in /chroot instead of /home/chroot
Maybe this is the reason?
This problem occurs from the very beginning. Virtualmin was installed 1.5 years ago.

I do some work and reproduce this error
I installed virtualmin on fresh debian 9 on local VM.
I changed the chroot jail directory to /chroot
I created a virtual server in jail.
I switched to the admin server.
And the problem unfortunately occurs.

Oh, interesting ... is /home on a different filesystem from /chroot?

This is the same file system
I changed to /chroot because in /home I use clamscan every hour. I was afraid that files could be scanned twice.
Under virtualmin configuration - advanced options it is possible to change the jailkit directory. So I changed it to /chroot

Any updates? Or clue?

Was the domain you're having trouble with created before or after changing the chroot base to /chroot ?

This never works. This problem occurs when domain was created and jailed or domain was jailed by defaul after creation. On my testing local server when i change to defaul /home/chroot/ and create a jailed domains this issue still exists.

Ilia's picture
Submitted by Ilia on Wed, 11/20/2019 - 02:13

@toli Did you try the very latest 19.42-RC2 version of the theme, as familiar issue for jailed users has been fixed few weeks ago.

I use default 19.39-2 for stability. I will try 19.42-RC2 in my testing server. Thank You.

installed 19.42-RC3 - issue still exist

Ilia's picture
Submitted by Ilia on Wed, 11/20/2019 - 12:03

Did you update Webmin as well using update-from-repo.sh script? If it still doesn't work, please provide steps to recreate the issue.

Update webmin from dev repo did not help.

Steps:

I installed virtualmin on fresh debian 9 on local VM.

I changed the chroot jail directory to /chroot

I created a virtual server in jail.

I switched to the admin server.

filemin - as admin server: click on tree folders list

Ilia's picture
Submitted by Ilia on Wed, 11/20/2019 - 13:34

Does file-listing work fine for you, if used from main table (not the tree)?

Yes, its ok. Only when clicking on tree view problem occurs.

At the moment I am telling users to turn off the folder tree view. But this is not a good solution.

Ilia's picture
Submitted by Ilia on Wed, 11/20/2019 - 16:14

I changed the chroot jail directory to /chroot

How exactly did you do it?

Ilia's picture
Submitted by Ilia on Wed, 11/20/2019 - 16:19

I created a virtual server in jail.

Describe this step as well

I switched to the admin server.

Switched from where? Usermin or Virtualmin (server-owner)?

Ilia's picture
Submitted by Ilia on Thu, 11/21/2019 - 03:02

Nevermind. Got it. Working on the issue.

Ilia's picture
Submitted by Ilia on Thu, 11/21/2019 - 04:10

Title: filemin issue » File Manager issue for jailed users
Status: Active » Fixed

It works :) Thank You Ilia.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.