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

Re: USB ownership



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 as root:
>> pbc@paulandcilla:/media$ ls -l /media/disk
>> total 208
>> -rwxr-xr-x 1 pbc root  36352 2008-10-02 21:19 FILE_1
>> -rwxr-xr-x 1 pbc root  16408 2008-10-02 21:39 FILE_2
>> -rwxr-xr-x 1 pbc root 104960 2008-10-17 07:00 FILE_3
>> -rwxr-xr-x 1 pbc root  12830 2008-10-17 07:00 FILE_4
>>
>> 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).
>>
>> What do I have to do to get it to recognize her as the owner, when she
>> plugs in a USB stick in her login?
> 
> 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 her login.
> 
> Control Center > Peripherals > Storage Media
> 
this would assume KDE. She is running KDE, I am running gnome.

> then click the "Notifications" tab and select "Unmounted Removable
> Medium" from the "Media types:" combobox. You will probably see "Open in
> New Window (Auto Action)"; you have to change that so that "Do Nothing"
> is the auto action.

I have seen it many times before, when I put in a CD. After I am done, I
go to her login and see that "OPEN CD with" dialog. So it happens both
ways, the windo opens in her login when I insert something & vice versa..
I'll try what you suggested, thanks!


-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


Reply to: