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 PROTECTED]:/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. > 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..
Oct 17 04:42:12 paulandcilla -- MARK -- Oct 17 04:59:33 paulandcilla kernel: [1876057.054231] usb 3-4: new high speed US B device using ehci_hcd and address 11 Oct 17 04:59:34 paulandcilla kernel: [1876057.198854] usb 3-4: configuration #1 chosen from 1 choice Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] scsi8 : SCSI emulation for USB Mass Storage devices Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] usb 3-4: New USB device fo und, idVendor=0930, idProduct=6545 Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] usb 3-4: Product: USB Flash Memory Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] usb 3-4: Manufacturer: Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] usb 3-4: SerialNumber: 5B8 50A0002E5 Oct 17 04:59:39 paulandcilla kernel: [1876062.600106] scsi 8:0:0:0: Direct-Access USB Flash Memory PMAP PQ: 0 ANSI: 0 CCS Oct 17 04:59:40 paulandcilla kernel: [1876064.017070] sd 8:0:0:0: [sdg] 7827456 512-byte hardware sectors (4008 MB) Oct 17 04:59:40 paulandcilla kernel: [1876064.017070] sd 8:0:0:0: [sdg] Write Protect is off Oct 17 04:59:40 paulandcilla kernel: [1876064.017070] sd 8:0:0:0: [sdg] 7827456 512-byte hardware sectors (4008 MB) Oct 17 04:59:40 paulandcilla kernel: [1876064.017070] sd 8:0:0:0: [sdg] Write Pr otect is off Oct 17 04:59:40 paulandcilla kernel: [1876064.017070] sdg: sdg1 Oct 17 04:59:40 paulandcilla kernel: [1876064.065289] sd 8:0:0:0: [sdg] Attached SCSI removable disk Oct 17 04:59:40 paulandcilla kernel: [1876064.065289] sd 8:0:0:0: Attached scsi generic sg7 type 0 Oct 17 05:22:12 paulandcilla -- MARK -- Oct 17 05:42:12 paulandcilla -- MARK -- Oct 17 06:02:12 paulandcilla -- MARK -- -- Paul Cartwright Registered Linux user # 367800 Registered Ubuntu User #12459 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]