Peter Hardy wrote: >On Wed, 11 Dec 2002 17:17:52 +1100 Michael Lake wrote: > > >>/etc/fstab says... >>/dev/hda12 /mnt/dos msdos defaults (note >>I have alos tried user instead of defaults above) >> >> > >user just means the user has permission to mount/unmount the filesystem. > It doesn't actually change the permissions. > Ah yes, reread the mount man and I see that now.
>>I wanted to make the dos dir owned by root:users and add myself to the >>users group so that I could write to the dir. >>and then to make its permissions drwxrwxr-x so I had permission to >>write into it. >> >> > >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. >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 :-) Mike UTS CRICOS Provider Code: 00099F DISCLAIMER ======================================================================== This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. ======================================================================== -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
