[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Can't read Win95 (vfat) partitions



I'll forgo the responses, and cut to the chase..  )
Sucess!! (I know about the "mount-over" thing.. It was just sugested, so
I did it...)
Anyway... The fix came in the following form:

I edited my /etc/fstab to enter the following (rather edit the line to
make it read):

/dev/hda1   /Win95    vfat  user,rw,exec,umask=000,uid=0,gid=100 0 0

Still needs a little tuning. I'm going to restrict the group access to
users with a need to get into that area. (change the umask to 002 rather
than 000). Thus I can control it with the group ID.  :) It also really
doesn't need the "user" entry. I really don't want the users to be able
to mount & unmout things...

	To all who helped in correcting this one:

			THANK YOU!!!!!

	I can now read & write to that drive as a user, AND still maintain some
control!

		Thank you Kevin for coming through on this!!!!


Kevin D. Colby wrote:
> 
> >       Looks good so far, So now I go for the mount:
> >
> >mount -t vfat /dev/hda1 /Win95 -o user,rw
> 
> Okay, I didn't know for sure about this, so
> I decided to investigate.  First off, the permissions
> of the directory that you are mounting over
> don't matter diddly-squat.  It is a mount-point,
> and you are mounting _over_ it.  (note the
> "over" part)
> 
> At first, it seemed that -o user,rw was the thing
> to do.  But I checked the mount man page
> anyway.  Under FAT partition specific mounting
> options, I found 'umask=value' which sets the default
> umask, defaulting to the default umask of the running
> process.  Your default umask is likely 022.  Mine is.
> Try the following:
> 
> mount -t vfat /dev/hda1 /Win95 -o user,rw,umask=000
> 
> ...and tell us what you get.
> (BTW - options 'uid=' and 'gid=' will set the owner
> and group for the entire Win95 filesystem.)
> 
> Hope this helps.
> 
>         - Kevin Colby
>           kevin marcal com
> 
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>          To unsubscribe: mail redhat-install-list-request redhat com
>                      with "unsubscribe" as the Subject.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]