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. > > #/ ls -l > drwxr-xr-x 3 root users 4096 Nov 16 00:49 mnt > /mnt# ls -l > drwxr-xr-x 4 root root 16384 Jan 1 1970 dos > > 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 :-) 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. I'm hopeless at octal. :-) HTH -- Pete -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
