On Sat, 16 Jun 2007 10:13:21 +1200 Reg <[EMAIL PROTECTED]> wrote: > Robert Fisher wrote: > > On Saturday 16 June 2007 9:14 am, Reg wrote: > > > > > >> Tried that and got the following result: > >> > >> [EMAIL PROTECTED]:~> id > >> uid=1000(reg) gid=100(users) groups=16(dialout),33(video),100(users) > >> [EMAIL PROTECTED]:~> mount -t vfat /mnt/hdb1 /music -o uid=1000 > >> mount: only root can do that > >> [EMAIL PROTECTED]:~> su - > >> Password: > >> athlon:~ # mount -t vfat /mnt/hdb1 /music -o uid=1000 > >> mount: special device /mnt/hdb1 does not emount -t vfat /mnt/hdb1 /music > >> -o > >> > > uid=1000xist > > > >> athlon:~ # > >> > >> Maybe I did it wrong? > >> > > > > Yes you did but you are almost there. > > > > Try > > mount -t vfat /dev/hdb1 /music -o uid=1000 > > > > (notice the dev not mnt) > > > > If that works then you should modify your fstab to suit. > > In fact it would probably be easiest for you to post the contents > > of /etc/fstab to the list and someone (maybe several) with advise what to > > do > > with it. > > > > > ok I will persevere just for learning sake :-) > > this is what I got: > > [EMAIL PROTECTED]:~> mount -t vfat /dev/hdb1 /music -o uid=1000 > mount: only root can do that > [EMAIL PROTECTED]:~> su - > Password: > athlon:~ # mount -t vfat /dev/hdb1 /music -o uid=1000 > mount: /dev/hdb1 already mounted or /music busy > mount: according to mtab, /dev/hdb1 is already mounted on /music > athlon:~ # > > > > reg unmount it first...
umount /music mount -t vfat /dev/hdb1 /music -o uid=1000 is one option, or... umount /music mount -t vfat /dev/hdb1 /music -o umask=000 is another. The former will allow you ( id of 1000 ) to write to the partition, and the latter will allow anyone. You may need to add... exec,rw ( as in -o uid=1000,exec,rw ) - exec allows you to run programs off the partition, and rw forces read write access at a level below the permissions. Oncce you've got it working the way you want it then /etc/fstab needs updating. Sorry, I haven't got a vfat partition to check ( usb drive anyone??? a decent distro should show up the necessary options ), but this should work. Steve
