Mount permissions with iPod
I finally got my ipod mounted (after recompiling my kernel and all that fun stuff). The ipod mounts, and I can read the file system when logged in as root, but cannot read it as a regular user. I have chmod'ed the /mnt/ipod but it still doesn't allow me to access it as a regular user. Any idea?
Thanks |
How are you mounting your Ipod? Do you have a /mnt/ipod entry in your /etc/fstab file or are you just typing the command 'mount /dev/sda1 /mnt/ipod'?
If you have an entry in your fstab for the ipod, add the options 'uid=<your user id>,gid=<your group id> for instance, if the line originally looks like this: /dev/sda1 /home/shriver/usb vfat defaults 0 0 try something like this: /dev/sda1 /home/shriver/usb vfat uid=1000,gid=1000,users,owner 0 0 (for explanations of the option type 'man mount') If you mount the ipod with the mount command, add those options like this: 'mount -o uid=1000,gid=1000,owner,users /dev/ipod /mnt/ipod' that should set the mounted partition as being owned by the specified user. Good luck. |
Hmm, the problem seems to have gotten more complicated:
When I run Code:
mount /dev/sda2 /mnt/ipod When Code:
/dev/sda2 /mnt/ipod vfat uid=1000,gid=1000,user,root 0 0 Code:
mount /mnt/ipod Code:
wrong fs type, bad option, bad superblock on /dev/sda2, or too many mounted file systems Code:
mount -o uid=1000,gid=1000,root,kennethleiter, -t vfat /dev/sda2 /mnt/ipod Code:
Disk /dev/sda: 20.0 GB, 20000268288 bytes |
If I remember correctly, vfat is for newer win98 machines and uses 32 bit words. Fat, which is what the table shows, is 16 bit. Try changing the fstab to fat. You may need to load the fat module.
|
All times are GMT -5. The time now is 09:08 AM. |