[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB ownership



On Fri, Oct 17, 2008 at 04:57:00PM +0200, Jochen Schulz wrote:
> Paul Cartwright:
> >
> > My wife plugged in a USB stick, to save a file to it. It would not let
> > her save a file, permission denied. 
> ...
> > I am logged in first, vt7, she is logged in 2nd, vt8, and when I
> > switched to my login, there was the disk window open ( /media/disk).
> 
> I don't know what Debian's current default solution for auto-mounting
> is, but the problem is that this program simply cannot tell who of you
> is using the USB drive.

I don't the last part of this sentence is accurate. Only one VT is
current when the USB-stick is inserted, the automounter should use the
policy: The user who own the VT which is active when the USB-stick is
inserted gets write permission on it.

-- 
Hans Ekbrand (http://sociologi.cjb.net) <hans@sociologi.cjb.net>
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.

Attachment: signature.asc
Description: Digital signature


Reply to: