[102264] in RedHat Linux List
RE: Changing group and ownership on vfat partitions
daemon@ATHENA.MIT.EDU (Charles Galpin)
Wed Dec 2 09:25:33 1998
Date: Wed, 2 Dec 1998 07:59:30 -0500
From: Charles Galpin <cgalpin@lighthouse-software.com>
To: Steve Hazelett <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
this can also be done through linuxconf if you find it easier.
===== Original Message from Steve Hazelett <redhat-list@redhat.com> at
12/02/98 7:34 am
>Kent,
> You can change the owner/group and permissions of your Win95
>partition in the /etc/fstab file. Here is what mine looks like.
>
>
>/dev/hda1 /dos vfat uid=500,gid=500,umask=027 0 0
>
>Substitute your gid and uid numbers where gid= and uid= are. You can
>get those numbers from your /etc/passwd file in the third and fourth
>fields of your user account. Mind just happen to be 500 and 500.
>This will make all files on your Win95 partition owned by your normal
>user account and read/write/executable.
>
>I'll hazard a guess as to what the line should look like in your fstab
>file (without more information).
>
>/dev/hda /G vfat uid=500,gid=500,umask=027 0 0
>
>
>Read up on man fstab, man mount. Don't try and change the permissions
>on your /G partition. Hope this helps.
>
>.. Steve
>
>"Kent R. Frazier" <kfrazier@NMSU.Edu> wrote:
>> I'm pretty sure that this question has been asked and answered
>> recently,
>> but (I know I shouldn't have) I was logged in as root and managed to
>> delete
>> my entire /home directory including my mail files. Let this serve as
>> an
>> example to the recent thread on why one shouldn't log in as root.
>>
>> Anyway, I'm not sure how to obtain recent postings from the archive,
>> so I'm
>> asking the question again.
>>
>> I have a stand alone workstation with two HDs. One is Win95 the other
>> Linux
>> (RH5.1 soon to be 5.2) Linux is configured to only see my "G" drive on
>> Win95 ( it is /G in Linux, just to keep it simple) and it's file
>> system is
>> listed as vfat in fstab. I think that is the correct file, I'm doing
>> this
>> from memory and I'm still a newbie. This partition is used only for
>> data
>> and I would like to be able to write to it without su-ing to root. I
>> have
>> tried to change the ownership and group for this without any luck. I
>> have
>> also tried to mark it as writable to all (chmod a+w /G) again with no
>> success. Is there something I'm doing wrong, or can this not be
>> changed?
>>
>> Also, how does one look for recent postings in the archives? The last
>> time
>> I looked, they only had posting listed from early November.
>>
>> Thanks again,
>>
>> Kent
>> (older and wiser with a new /home) <grin>
>
>
>hazelett@aa.net
-- Charles Galpin <cgalpin@lighthouse-software.com>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.