Local devices appear on all desktops

Marc Gariépy gariepy.marc at gmail.com
Fri Nov 27 18:52:07 GMT 2009

Hi Luke,

To fix your problem you need to add a script to fix perm of the /media/$USER
because your user all belong to the same group.

* Install perl-suid on the server

then create a script in /etc/ltspfs/mounter.d (you may have to create that
directory) on the application server
and a script called fixperm inside it, containing:

== cut here ==
if ( $ARGV[0] eq 'add' ) {
       $ENV{'PATH'} = '/bin:/usr/bin';
       system "chown", "$user.root","//media//$user";
== cut here ==

then you have to set permission 4755 on that script


On Fri, Nov 27, 2009 at 1:42 PM, ekul taylor <ekul.taylor at gmail.com> wrote:

> Hello all,
> I apologize if this question has been answered before.  I searched the
> archives but I didn't find anything.
> I just updated our edubuntu server to karmic and unlike before I have
> decided to use the official gnome edubuntu desktop rather then the minimal
> xfce config I was using before.  Local devices are working great except the
> icons appear for all users.  Is there a simple way to limit the device icon
> to only display for the user that plugged it in?  It isn't a security issue
> since other users cannot access the device but it is confusing since usb
> drives are listed as /dev/sdb on all the thin clients.  This means multiple
> sdb devices are on the desktop and it's easy to select the wrong one.
> Thanks,
> Luke Taylor
> --
> edubuntu-users mailing list
> edubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/edubuntu-users/attachments/20091127/8c4fa71a/attachment.htm 

More information about the edubuntu-users mailing list