Re: USB ownership

2008-10-25 Thread Emanoil Kotsev
Hans Ekbrand wrote: > On Mon, Oct 20, 2008 at 05:06:25PM +0200, Emanoil Kotsev wrote: >> Hans Ekbrand wrote: >> >> > 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

Re: USB ownership

2008-10-25 Thread Emanoil Kotsev
Andrei Popescu wrote: > On Wed,22.Oct.08, 09:33:58, Aioanei Rares wrote: > >> I've read something about a year ago that adding an entry in fstab for >> usb sticks isn't >> such a good idea...can't remember the link though.YMMV. > > Hhm, ... > > $ grep mirror /etc/fstab > LABEL=mirror /media/mi

Re: USB ownership

2008-10-22 Thread Andrei Popescu
On Wed,22.Oct.08, 09:33:58, Aioanei Rares wrote: > I've read something about a year ago that adding an entry in fstab for usb > sticks isn't > such a good idea...can't remember the link though.YMMV. Hhm, ... $ grep mirror /etc/fstab LABEL=mirror/media/mirror ext3user,noatime,data=journ

Re: USB ownership

2008-10-22 Thread Hans Ekbrand
On Mon, Oct 20, 2008 at 05:06:25PM +0200, Emanoil Kotsev wrote: > Hans Ekbrand wrote: > > > 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 d

Re: USB ownership

2008-10-22 Thread Emanoil Kotsev
--- On Wed, 10/22/08, Aioanei Rares <[EMAIL PROTECTED]> wrote: > From: Aioanei Rares <[EMAIL PROTECTED]> > Subject: Re: USB ownership > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED], debian-user@lists.debian.org > Date: Wednesday, October 22, 2008, 8:33 AM > O

Re: Please follow list guidelines [was ... Re: USB ownership]

2008-10-22 Thread en0f
Chris Bannister wrote: [ .. ] > [120 odd lines snipped] > > Hey, come on guys, how about following the netiquette and snipping > unnecessary content and replying inline to each point in turn? I agree. We need some list etiquette. -- en0f -- To UNSUBSCRIBE, email to [EMAIL PROTECTED

Please follow list guidelines [was ... Re: USB ownership]

2008-10-22 Thread Chris Bannister
e, 10/21/08, Paul Cartwright <[EMAIL PROTECTED]> wrote: > >> > >> > From: Paul Cartwright <[EMAIL PROTECTED]> > >> > Subject: Re: USB ownership > >> > To: [EMAIL PROTECTED] > >> > Cc: debian-user@lists.debian.org > >> >

Re: USB ownership

2008-10-22 Thread Neil
On Wed, Oct 22, 2008 at 8:33 AM, Aioanei Rares <[EMAIL PROTECTED]> wrote: > > > On Tue, Oct 21, 2008 at 9:22 PM, Emanoil Kotsev <[EMAIL PROTECTED]> wrote: >> >> --- On Tue, 10/21/08, Paul Cartwright <[EMAIL PROTECTED]> wrote: >> >> > From: Pau

Re: USB ownership

2008-10-21 Thread Aioanei Rares
On Tue, Oct 21, 2008 at 9:22 PM, Emanoil Kotsev <[EMAIL PROTECTED]> wrote: > > --- On Tue, 10/21/08, Paul Cartwright <[EMAIL PROTECTED]> wrote: > > > From: Paul Cartwright <[EMAIL PROTECTED]> > > Subject: Re: USB ownership > > To: [EMAIL PROTECTED]

Re: USB ownership

2008-10-21 Thread Emanoil Kotsev
--- On Tue, 10/21/08, Paul Cartwright <[EMAIL PROTECTED]> wrote: > From: Paul Cartwright <[EMAIL PROTECTED]> > Subject: Re: USB ownership > To: [EMAIL PROTECTED] > Cc: debian-user@lists.debian.org > Date: Tuesday, October 21, 2008, 12:48 PM > Emanoil Kotsev wr

Re: USB ownership

2008-10-21 Thread Paul Cartwright
Emanoil Kotsev wrote: > Paul Cartwright wrote: > >> Andrei Popescu wrote: >>> On Mon,20.Oct.08, 17:06:25, Emanoil Kotsev wrote: >>> I suggested to use device by uuid /dev/disk/by-uuid/3fca395b-d75d-44ab-98be-9ec05b2e45fd /media/usb_2G_part3 auto users,noauto,atime,rw,nodev,no

Re: USB ownership

2008-10-20 Thread Emanoil Kotsev
Paul Cartwright wrote: > Andrei Popescu wrote: >> On Mon,20.Oct.08, 17:06:25, Emanoil Kotsev wrote: >> >>> I suggested to use device by uuid >>> >>> /dev/disk/by-uuid/3fca395b-d75d-44ab-98be-9ec05b2e45fd >>> /media/usb_2G_part3 auto users,noauto,atime,rw,nodev,noexec,nosuid 0 0 >> >> You can s

Re: USB ownership

2008-10-20 Thread Paul Cartwright
Andrei Popescu wrote: > On Mon,20.Oct.08, 17:06:25, Emanoil Kotsev wrote: > >> I suggested to use device by uuid >> >> /dev/disk/by-uuid/3fca395b-d75d-44ab-98be-9ec05b2e45fd /media/usb_2G_part3 >> auto users,noauto,atime,rw,nodev,noexec,nosuid 0 0 > > You can shorten this a bit: > > UUID=3fca.

Re: USB ownership

2008-10-20 Thread Andrei Popescu
On Mon,20.Oct.08, 17:06:25, Emanoil Kotsev wrote: > I suggested to use device by uuid > > /dev/disk/by-uuid/3fca395b-d75d-44ab-98be-9ec05b2e45fd /media/usb_2G_part3 > auto users,noauto,atime,rw,nodev,noexec,nosuid 0 0 You can shorten this a bit: UUID=3fca It's not much, but given that th

Re: USB ownership

2008-10-20 Thread Emanoil Kotsev
Hans Ekbrand wrote: > 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 w

Re: USB ownership

2008-10-20 Thread Emanoil Kotsev
Emanoil Kotsev wrote: > Florian Kulzer wrote: > >> On Fri, Oct 17, 2008 at 21:29:09 -0400, Paul Cartwright wrote: >>> >>> > >>> > The problem is that the automounter cannot make a direct connection >>> > between a specific user session and the physical act of someone >>> > plugging >>> > in a n

Re: USB ownership

2008-10-20 Thread Emanoil Kotsev
Hans Ekbrand wrote: > 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 w

Re: USB ownership

2008-10-19 Thread Hans Ekbrand
On Fri, Oct 17, 2008 at 06:07:27PM +0100, Nuno Magalhães wrote: > On Fri, Oct 17, 2008 at 3:57 PM, Jochen Schulz <[EMAIL PROTECTED]> wrote: > > > 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

Re: USB ownership

2008-10-19 Thread Hans Ekbrand
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 log

Re: USB ownership

2008-10-18 Thread Emanoil Kotsev
Florian Kulzer wrote: > On Fri, Oct 17, 2008 at 21:29:09 -0400, Paul Cartwright wrote: >> >> > >> > The problem is that the automounter cannot make a direct connection >> > between a specific user session and the physical act of someone >> > plugging >> > in a new device. It could probably be i

Re: USB ownership

2008-10-18 Thread Florian Kulzer
On Fri, Oct 17, 2008 at 21:29:09 -0400, Paul Cartwright wrote: > > > > > The problem is that the automounter cannot make a direct connection > > between a specific user session and the physical act of someone plugging > > in a new device. It could probably be improved to make better guesses, > >

Re: USB ownership

2008-10-17 Thread Paul Cartwright
> > The problem is that the automounter cannot make a direct connection > between a specific user session and the physical act of someone plugging > in a new device. It could probably be improved to make better guesses, > but it's impossible to know. > I can understand that. Can it be automoun

Re: USB ownership

2008-10-17 Thread Jochen Schulz
Paul Cartwright: > Florian Kulzer wrote: >> >> If you found that your session had a disk window open then your session >> (and hence your user) must have automounted the medium. For your user, >> go to > > actually, she plugged in the USB stick about an hour before I got up, so > it was her in he

Re: USB ownership

2008-10-17 Thread Paul Cartwright
Florian Kulzer wrote: > On Fri, Oct 17, 2008 at 07:53:42 -0400, Paul Cartwright wrote: >> My wife plugged in a USB stick, to save a file to it. It would not let >> her save a file, permission denied. I looked at the ownership of >> /media/disk ( /dev/sdg1) and it showed me as the owner with group a

Re: USB ownership

2008-10-17 Thread Florian Kulzer
On Fri, Oct 17, 2008 at 07:53:42 -0400, Paul Cartwright wrote: > My wife plugged in a USB stick, to save a file to it. It would not let > her save a file, permission denied. I looked at the ownership of > /media/disk ( /dev/sdg1) and it showed me as the owner with group as root: > [EMAIL PROTECTED]

Re: USB ownership

2008-10-17 Thread Nuno Magalhães
On Fri, Oct 17, 2008 at 3:57 PM, Jochen Schulz <[EMAIL PROTECTED]> wrote: > 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. pmount, i use it through gkrellm: http://packages.de

Re: USB ownership

2008-10-17 Thread Dotan Cohen
2008/10/17 Jochen Schulz <[EMAIL PROTECTED]>: > Dotan Cohen: >> 008/10/17 Paul Cartwright <[EMAIL PROTECTED]>: >>> thanks, I'll let her know! >>> >>> I looked in /var/log/messages and it didn't say anything about >>> ownership, though it did say write protect was off.. >> >> Be careful how you wor

Re: USB ownership

2008-10-17 Thread Osamu Aoki
Hi, I do not know exactly what is happening but give you some idea... On Fri, Oct 17, 2008 at 07:53:42AM -0400, Paul Cartwright wrote: > My wife plugged in a USB stick, to save a file to it. It would not let > her save a file, permission denied. I looked at the ownership of > /media/disk ( /dev/s

Re: USB ownership

2008-10-17 Thread Jochen Schulz
Dotan Cohen: > 008/10/17 Paul Cartwright <[EMAIL PROTECTED]>: >> thanks, I'll let her know! >> >> I looked in /var/log/messages and it didn't say anything about >> ownership, though it did say write protect was off.. > > Be careful how you word it. I think this message just refers to the physica

Re: USB ownership

2008-10-17 Thread Jochen Schulz
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'

Re: USB ownership

2008-10-17 Thread Dotan Cohen
008/10/17 Paul Cartwright <[EMAIL PROTECTED]>: > thanks, I'll let her know! > I looked in /var/log/messages and it didn't say anything about > ownership, though it did say write protect was off.. > Be careful how you word it. Some users look at this as a way of saying "Linux is garbage, Windows r

Re: USB ownership

2008-10-17 Thread Paul Cartwright
Dotan Cohen wrote: > 2008/10/17 Paul Cartwright <[EMAIL PROTECTED]>: >> My wife plugged in a USB stick, to save a file to it. It would not let >> her save a file, permission denied. I looked at the ownership of >> /media/disk ( /dev/sdg1) and it showed me as the owner with group as root: >> [EMAIL

Re: USB ownership

2008-10-17 Thread Dotan Cohen
2008/10/17 Paul Cartwright <[EMAIL PROTECTED]>: > My wife plugged in a USB stick, to save a file to it. It would not let > her save a file, permission denied. I looked at the ownership of > /media/disk ( /dev/sdg1) and it showed me as the owner with group as root: > [EMAIL PROTECTED]:/media$ ls -l

USB ownership

2008-10-17 Thread 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 looked at the ownership of /media/disk ( /dev/sdg1) and it showed me as the owner with group as root: [EMAIL PROTECTED]:/media$ ls -l /media/disk total 208 -rwxr-xr-x 1 pbc root 36352 2008-