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

Re: USB ownership



2008/10/17 Paul Cartwright <ale@pcartwright.com>:
> 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?


Paul, this usually happens when the disk was not removed properly (not
unmounted) from Windows. Check the system log, you will see that the
USB filesystem is panicing. Plug the drive into another Windows
machine, perform a write operation (delete or create a file), and then
unmount it properly.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

ä-ö-ü-ß-Ä-Ö-Ü

Reply to: