I have a user that I want to be able to give them access
to thier own website in apache, thier own dnz zone, thier
own mysql database, and thier own home directory in
the file manager. Everything but the file manager works
fine in restricting the user to thier own home dir. I have
set the "Access files on server as user" option to both
same as webmin user, and the picked the actual user
from the system, neither makes a difference. I want to
restrict them to thier own home dir of for
example /home/moonet.
When i login as that user and run the file manager, i get
the following error "Failed to list / : Invalid argument"
Is this a bug, or am I just being dense and not
configuring it correctly. Any help would be greatly
appreciated. Also upon reply can you please copy/paste
and email to allan@zandahar.net as I will probably forget
I've posted this. Attached is screen capture of settings i
have
Screen Capture of Settings
Logged In: NO
Just in case it matters, i forgot to include that its running on
Debian GNU/Linux 3.0
Logged In: YES
user_id=129364
Does the moonet user have permissions to list the /
directory if he is logged in normally? That could be the
cause ..
Logged In: NO
yes, under normal circumstances when logged in, they can
successfully do an ls in /
Logged In: YES
user_id=129364
Try installing the updated module attached to this email -
it should give a more useful error message at least.
Updated File Manager module
Logged In: NO
Is the updated module one that will come down if I run the
module update in the webmin config section ? As I have
already updated all the modules to current versions.
Otherwise if its one thats not normally available, sure I will
install and try it :)
Logged In: YES
user_id=129364
It's one that is not normally available .. so give it a try,
and see if the error message is any different.
Logged In: NO
Okay, tried this module. With the same settings i get "Unable
to list / : permission denied" Mind you as I said, login via ssh,
i can do a ls in / fine. Back to the drawing board ? :) Or is it
just not possible to be able to do what I want ?
Logged In: NO
Ohh hey what, when you asked me that last time, I could
list / Hey someone is playing funny games with me here.
*goes back and checks some stuff* But otherwise, do they
have to be able to list / ? if you really want to lock them into
thier own home dir and nowhere else....
Logged In: YES
user_id=129364
Yes, they really do have to be able to list / .
The module can cope with not being able to list /home , but
/ is a necessity. I'm sure lots of other programs expect to
be able to as well ..