You are not logged in.

#1 2012-06-12 00:35:57

lenieco
Member
Registered: 2012-04-27
Posts: 33

Confine Thunar

Hi i'm making a distro for company workstations and i want to avoid that normal users without privileges browse outside their home folders.

Somewhere googling found this was called confine users in thunar, but i don't know how to do it.

I know users have to acces files outside their home folders for running applications, but what i want is just disable outside home file browsing with thunar, just like when you acces an ftp account and only can search in your own directories.

I don't care that users can access this folder using the terminal because i'm going to hide this one,

Thanks for your help.

Offline

#2 2012-06-12 00:52:25

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: Confine Thunar

You could work with basic unix permissions and groups or you could try something like jailkit.
This might also help.

Offline

#3 2012-07-04 21:03:43

lenieco
Member
Registered: 2012-04-27
Posts: 33

Re: Confine Thunar

Is there a way for doing this just from thunar?

I mean, that thunar just don't show folders outside /home/user

I don't care about modifying the files, i only wanto to restrict file browsing...

Offline

#4 2012-07-05 06:31:48

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Confine Thunar

1. Make sure the only directory owned by foo on the entire filesystem is /home/foo.
2. Type "cd / && find -type -d -exec chmod u-x {} \;" so that every attempt to cd into any directory by a non-privileged user will be rejected.
3. Type "chmod u+x /home/foo" to restore this ability for just the foo home folder.

The UNIX way of doing this is much more reliable. I don't think Thunar devs will add a feature for it because this would be SecurityThroughObscurity.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

Board footer

Powered by FluxBB