unable to write to usb mp3 player - how to change permissions for a device

Tez binary_y2k2 at blueyonder.co.uk
Fri Sep 22 11:12:07 UTC 2006


Fun Kid wrote:
> Hello Ubuntu users,
>
> Firstly, I must say that I was very excited to find an Ubuntu newsgroup.
> There seems to be a lot of forums but not many newsgroups for Ubuntu and
> its variations (Kubuntu, Xubuntu, etc.).
>
> I am hoping to get some assistance in fixing the problems I have been
> having with my mp3 player - Rio Cali.  So far I have gotten my system to
> recognize my Rio as a usb device and have been able to mount it without
> any problems.  I can read from it but I cannot write to it.
>
> A basic web search led me to believe that I don't have the right
> permissions for my drive.  But unfortunately, I am very new to Linux
> (and Ubuntu) and cant make any sense out of the instructions on some of
> the websites.
>
> I would like to be able to write to my Rio as a user (without requiring
> to be the root user every time).  I would greatly appreciate a response
> which contains step-by-step instructions on the fix.
>
> My operating system is Ubuntu 6.06 (Dapper Drake) and I am using KDE as
> my desktop.
>
> Thanks in advance.
> Funkid
>
> PS:  My eventual goal is to be able to connect to my Rio using amaroK
> and sync up my songs just like I used to do with my Rio and windows
> media player (WMP).  At the moment I am unable to and I suspect it is
> because I do no have the right permissions (as a user) to access the Rio
> from amaroK.
>
>   
How do you mount the device? I.e. Dose a window pop-up asking you what
to do with it, or do you mount it from the command line.
If you want to mount it so you can write to it you can use the command
"pmount", e.g.

user at ubuntu:~$ pmount /dev/sdaN rio

"/dev/sdaN" is the name linux gives the device and the partition numbr,
the "rio" is what you want the label you want to give it.
You can look at the output of "dmesg|tail" after you insert the device
to see the name.
(Some of my dmesg|tail output)
###
[939141.918312] usb 1-2: new high speed USB device using ehci_hcd and
address 50
[939142.051531] usb 1-2: configuration #1 chosen from 2 choices
[939142.051919] scsi46 : SCSI emulation for USB Mass Storage devices
[939142.052045] usb-storage: device found at 50
[939142.052047] usb-storage: waiting for device to settle before scanning
[939147.040943] usb-storage: device scan complete
[939147.041679] Vendor: Apple Model: iPod Rev: 1.62
[939147.041699] Type: Direct-Access ANSI SCSI revision: 00
[939147.043515] SCSI device sde: 3999743 512-byte hdwr sectors (2048 MB)
[939147.044524] sde: Write Protect is off
[939147.044528] sde: Mode Sense: 68 00 00 08
[939147.044531] sde: assuming drive cache: write through
[939147.046137] SCSI device sde: 3999743 512-byte hdwr sectors (2048 MB)
[939147.047015] sde: Write Protect is off
[939147.047019] sde: Mode Sense: 68 00 00 08
[939147.047021] sde: assuming drive cache: write through
[939147.047026] sde: sde1 sde2 sde3
[939147.049823] sd 46:0:0:0: Attached scsi removable disk sde
####

If you look at the last line you will see "Attached scsi removable disk
sde" so that means I would have to use "/dev/sde" It also shows the
partitions I have there "sde: sde1 sde2 sde3" sde2 is my music partition
there. So if I wanted to mount my music i would type "pmount /dev/sde2
ipod". That would create a directory under /media called "ipod" and
mount /dev/sde2 there with read/write permissions for the user that
executed the command.

Tez

P.s. If your wondering why iPod has 3 partitions, it's because I got
"iPodLinux" on it :D





More information about the kubuntu-users mailing list