[EMAIL PROTECTED] wrote:
> 
>   Hello all,
> 
>   Even if this is not a laptop specific issue, I would appreciate your
> help on the following point. I have a 1Gb vfat partition that I intended
> to use for sharing files between Linux and Win98. I can access it nicely
> from LINUX, but I cwn write on it only if I a root user. I tried to mount
> it with different options but never succeeded to make it writable by
> standard users. The 'chown joeuser' issued as superuser does not work either
> on files/directory in this partition.
>   How can I make this vfat partition writable by standard user?
>   Thanks in advance,
> 
>                 Gerald Carrier.

Ah, I have the solution.
Add this line to your /etc/fstab:

/dev/hda1               /DOS vfat defaults,uid=270,gid=107 0 0 

Of course, hda1, 270, and 107 are numbers that are specific to
my case, as well as /DOS.

You can get your uid and gid from /etc/passwd.

Then it will be mounted as you.

Read the man page on fstab and mount for details.

Jont     

-- 
Jont B. Allen
AT&T Labs-Research, Shannon Laboratory, E161
180 Park Ave., Florham Park NJ, 07932-0971
973/360-8545voice, x7111fax, http://www.research.att.com/~jba

Latest Microspeak re Win2000: ``All software ships with issues,''
        (the shipped bug count is at 63,000 according to internal documents)

Reply via email to