l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Dec 11 23:40

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Can a User Write To Windows Partition?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Can a User Write To Windows Partition?

On Sat, 11 Dec 2004 00:02:30 -0800
Rod Roark <rod@sunsetsystems.com> wrote:

> On Friday 10 December 2004 11:01 pm, Bill Kendrick wrote:
> > On Fri, Dec 10, 2004 at 10:54:50PM -0800, Robert G. Scofield wrote:
> > > It seems to me that I remember being able to use Open Office in
> > > Linux to write to Windows files.  But maybe it's my memory that is
> > > failing.  Does anybody know if it is possible for a mere user to
> > > write to Windows files, and if so what FSTAB entry will enable
> > > this?
> > 
> > A quick Google search came up with something that looks of use:
> > 
> >   "Share Partitions Between Linux and Windows HOWTO"
> >   http://www.geocities.com/epark/linux/partition-share-HOWTO.html
> Right, I guess the umask option is the key.  My fstab entry
> for this is:
> /dev/hda1           /mnt/win      vfat      umask=0           0 0

If you're using Kernel 2.4, you should use umask and showexec.
If you're using Kernel 2.6, you should use fmask and dmask.
In either case, you can avoid making the partition world-writable (or
readable if you so choose) by using the uid and gid options.

Here's an fstab entry I have on 2.6:

/dev/hda6       /home/bloom/vfat vfat
defaults,uid=1000,gid=1000,fmask=177,dmask=077 0 2

Note that in a real fstab file, that would all be on one line.

This gives me rw------- on files and rwx------ on directories. Note that
you need x on directories in order to cd to them

--Ken Bloom

I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.

Attachment: pgp00011.pgp
Description: PGP signature

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.