On Wed, 11 Dec 2002 17:57:56 +1100 Michael Lake wrote: > Peter Hardy wrote: > >You probably at least need the rw option, as there's uid, gid and > >umask options to set the permissions. > >(oh, and you'd probably be better off mounting it as a vfat volume > >instead of msdos. Long file names are good :-) > > > Its for exchanging files with a Mac OSX partitions on the Ti Book.
I won't pretend I have any idea about how OSX does things. :-) > >Try changing your fstab to (for eg): > >/dev/hda12 /mnt/dos vfat defaults,rw,uid=root,gid=users,umask=022 > >The umask may need tuning. > > > OK have fstab now set and mount now shows... > /dev/hda12 on /mnt/dos type msdos (rw,uid=0,gid=100,umask=022) > > still cant set permissions though as you can see here... > > casteret:/mnt# mountcasteret:/mnt# chmod ug+w dos/ > casteret:/mnt# ls -l > drwxr-xr-x 4 root users 16384 Jan 1 1970 dos > > I was expecting a w to show after I changed permissions. I am root > after all :-) Urk. My umask was wrong, sorry. It should be 002. Permissions for the mount point, as well as everything under it, are controlled by that umask. You shouldn't (and can't) chmod. -- Pete -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
