Unix Technical Forum

read-write access to /mnt/windows/ (vfat)

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 10:14 AM
hawat.thufir@gmail.com
 
Posts: n/a
Default read-write access to /mnt/windows/ (vfat)

/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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 10:14 AM
hawat.thufir@gmail.com
 
Posts: n/a
Default Re: read-write access to /mnt/windows/ (vfat)

[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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 10:14 AM
Lenard
 
Posts: n/a
Default Re: read-write access to /mnt/windows/ (vfat)

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 10:14 AM
Enrique Perez-Terron
 
Posts: n/a
Default Re: read-write access to /mnt/windows/ (vfat)

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 10:14 AM
Lenard
 
Posts: n/a
Default Re: read-write access to /mnt/windows/ (vfat)

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 10:15 AM
hawat.thufir@gmail.com
 
Posts: n/a
Default Re: read-write access to /mnt/windows/ (vfat)

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-18-2008, 10:15 AM
Bob Martin
 
Posts: n/a
Default Re: read-write access to /mnt/windows/ (vfat)

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:10 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com