This is a discussion on read-write access to /mnt/windows/ (vfat) within the Linux Operating System forums, part of the Unix Operating Systems category; --> /mnt/windows/ is automounting ok and the following works fine for read access, but how do I enable write access ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| /mnt/windows/ is automounting ok and the following works fine for read access, but how do I enable write access (for anyone)? [thufir@localhost ~]$ cat /etc/fstab -n 1 # This file is edited by fstab-sync - see 'man fstab-sync' for details 2 /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 3 LABEL=/boot /boot ext3 defaults 1 2 4 /dev/devpts /dev/pts devpts gid=5,mode=620 0 0 5 /dev/shm /dev/shm tmpfs defaults 0 0 6 /dev/proc /proc proc defaults 0 0 7 /dev/sys /sys sysfs defaults 0 0 8 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 9 /dev/hda1 /mnt/windows vfat users,owner,noauto,umask=000 0 0 10 /dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0 11 /dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0 [thufir@localhost ~]$ date Sun Dec 4 04:58:58 EST 2005 [thufir@localhost ~]$ " Thus, given a line /dev/cdrom /cd iso9660 ro,user,noauto,unhide any user can mount the iso9660 file system found on his CDROM using the command mount /dev/cdrom or mount /cd For more details, see fstab(5). " -man mount I want each and every user to have read-write access to /mnt/windows/, but can't quite get that. thanks, Thufir |
| |||
| [thufir@localhost ~]$ cat /etc/fstab -n 1 # This file is edited by fstab-sync - see 'man fstab-sync' for details 2 /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 3 LABEL=/boot /boot ext3 defaults 1 2 4 /dev/devpts /dev/pts devpts gid=5,mode=620 0 0 5 /dev/shm /dev/shm tmpfs defaults 0 0 6 /dev/proc /proc proc defaults 0 0 7 /dev/sys /sys sysfs defaults 0 0 8 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 9 /dev/hda1 /mnt/windows vfat pamconsole,exec,noauto,managed 0 0 10 /dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0 11 /dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0 [thufir@localhost ~]$ date Sun Dec 4 05:12:18 EST 2005 [thufir@localhost ~]$ same result, read only partition -Thufir |
| |||
| hawat.thufir@gmail.com wrote: > /mnt/windows/ is automounting ok and the following works fine for read > access, but how do I enable write access (for anyone)? <snip> > 9 /dev/hda1 /mnt/windows vfat > users,owner,noauto,umask=000 0 0 Try something like; /dev/hda1 /mnt/windows vfat users,noauto,rw 0 0 Please review the manpage for mount and pay attention to the users, user and owner switches -- "A personal computer is called a personal computer because it's yours, Anything that runs on that computer, you should have control over." Andrew Moss, Microsoft's senior director of technical policy, 2005 |
| |||
| On Sun, 04 Dec 2005 12:45:03 +0100, Lenard <lenard@127.0.0.1> wrote: > hawat.thufir@gmail.com wrote: > >> /mnt/windows/ is automounting ok and the following works fine for read >> access, but how do I enable write access (for anyone)? > > <snip> > >> 9 /dev/hda1 /mnt/windows vfat >> users,owner,noauto,umask=000 0 0 > > Try something like; > > /dev/hda1 /mnt/windows vfat users,noauto,rw 0 0 > > Please review the manpage for mount and pay attention to the users, user and > owner switches What about the umask options? -Enrique |
| |||
| Enrique Perez-Terron wrote: >> Try something like; >> >> /dev/hda1 /mnt/windows vfat users,noauto,rw 0 0 >> >> Please review the manpage for mount and pay attention to the users, user >> and owner switches > > What about the umask options? Use then if you need to, if the user(s) are part of the disk group the user(s) do not need them. If needed 'umask=0' works just as well as 'umask=000' with vfat and ntfs partitions (read only of course). -- "A personal computer is called a personal computer because it's yours, Anything that runs on that computer, you should have control over." Andrew Moss, Microsoft's senior director of technical policy, 2005 |
| |||
| Lenard wrote: ... > > /mnt/windows/ is automounting ok and the following works fine for read > > access, but how do I enable write access (for anyone)? ... > /dev/hda1 /mnt/windows vfat users,noauto,rw 0 0 > > Please review the manpage for mount and pay attention to the users, user and > owner switches ... Thanks, that worked perfectly. However, I had to reboot. I thought that logging out would "reset" it... -Thufir |
| ||||
| in 436019 20051205 042553 hawat.thufir@gmail.com wrote: >Lenard wrote: >... >> > /mnt/windows/ is automounting ok and the following works fine for read >> > access, but how do I enable write access (for anyone)? >... >> /dev/hda1 /mnt/windows vfat users,noauto,rw 0 0 >> >> Please review the manpage for mount and pay attention to the users, user and >> owner switches >... > >Thanks, that worked perfectly. However, I had to reboot. I thought >that logging out would "reset" it... > > >-Thufir "mount -a" should do it. |