LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-28-2004, 11:15 AM   #1
abijah
LQ Newbie
 
Registered: Apr 2004
Posts: 8

Rep: Reputation: 0
FAT32 shared drive lacks user write access


Hello out there in linux land,

I'm not a complete newb, been using linux since Redhat 5.1 but I haven't done much administration. I recently set up a fedora Core 2/winxp home dual boot on a friend's/co-workers laptop, he's going on a trip and needs to run some unix software my group wrote but needs to be able to use the data it produces from windows (he's a geologist who's not very computer oriented). Tech support will take 2 weeks to get to it, he's leaving at the end of this week, so it fell to me to get it done in a timely fashion. After I installed fedora on his computer I decided to upgrade my personal computer at home from redhat 9.0, and when I went to transfer the files I wanted to MY shared drive I had to be root to do so. After I installed fedora I still had the same problem. As root I was unable to give my user account write access to the shared drive, I tried chmod, chown, chgrp, usermod and it doesn't work, chown and chgrp said it was unable to change ownership of the files on the drive. I'm really at a loss here and I'm fairly certain the co-workers going to have the same problem but doesn't know it yet. I've got to meet with him again to install more software on his laptop (he uses it for work so I can't keep it until I have it working) and I'd like to have a solution when I do.

does anyone out there know how to fix this? I know it's possible because tech support gave users in my department write access to the shared drive on our dual boot machines, but I just don't have the time for them to get back to me on this.

I could really really really use some help on this one.

-Abijah
 
Old 06-28-2004, 11:35 AM   #2
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I would change the entry in '/etc/fstab'. So that way it gets mounted with the proper permissions upon bootup...

Code:
/dev/hda6        /mnt/shared         vfat         umask=0
That always works. Leave the last 2 columns that ussually contain "0 0" blank. umask=0 goes where you would find "noauto,ro,owner" and whatnot..... Or you could just take out "owner" and write "user" in it's place.
 
Old 06-28-2004, 06:28 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can't use chown or chgrp on mounted windows partitiions, but you can add a uid= or gid= option to the /etc/fstab entry. Non-linux native partitions tend to have these options. Consult the mount man page for details.

Changing the group ownership of a windows partition and making certain users members of that group is a way of controlling access to that drive.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User can't write mounted fat32 drive? ExoZagNoid Ubuntu 4 06-09-2005 08:05 PM
fat32 and write access for user tsitras Debian 2 05-18-2004 10:15 PM
Getting write access to FAT32 wgself Red Hat 1 01-16-2004 08:48 AM
fat32 drive shared, cant access tru rh9 summonerdjinn Linux - Networking 5 11-02-2003 04:42 PM
How do i access Fat32 NTFS Shared Driver from Redhat 8 michaelh Linux - Networking 16 05-08-2003 01:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration