LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-29-2003, 11:56 AM   #1
kiteless
LQ Newbie
 
Registered: Aug 2003
Distribution: JAMD 0.0.6
Posts: 7

Rep: Reputation: 0
Mounted drive permissions? Vfat


Hi folks a couple questions. Am I right in assuming that I can actually write to a Fat32 file system? Oddly I've seen lots saying "OMG don't write to an NTFS" but no definitive answers on Fat32.

Anyhow, if I can write, then maybe you can help me. Here is a copy of my /etc/fstab

Code:
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hdb3               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/hda1               /home/kiteless/mnt/win2k              vfat    defaults,umask=022 0 0
/dev/hdb5               /home/kiteless/mnt/storage            vfat    defaults,umask=022 0 0
Now these seem to mount jsut fine, however I can't write to the "storage" or the "win2k" partition. It tells me Access Denied to /home/kiteless/mnt/storage or whatever I happened to name the mount point. Using LinNeighborhood I can copy to and from my SMB shares, so maybe I am just mounting these wrong? Ideallly I'd like to mount them somewhere that all uses on the machine (just kiteless and root at the moment, may add more) can read and write to them.

Final question (kind of like Who wants to be a millionaire no?), I know how to mount with LinNeighborhood, how can I add what I mounted in LinNeighborhood to my fstab? Thanks in advance!
 
Old 08-29-2003, 12:14 PM   #2
bdp
Member
 
Registered: Apr 2002
Distribution: RH 9
Posts: 230

Rep: Reputation: 30
in fstab options, gid=n uid=n and umask=m can be used to preset access privileges on partions that do not natively support linux file attributes.
 
Old 08-29-2003, 12:17 PM   #3
bdp
Member
 
Registered: Apr 2002
Distribution: RH 9
Posts: 230

Rep: Reputation: 30
mount your samba in fstab with -t smbfs and search the forum for relavent options. you can also use autofs to mount smbfs which will also give you hits on the search here.
 
Old 08-29-2003, 12:32 PM   #4
bdp
Member
 
Registered: Apr 2002
Distribution: RH 9
Posts: 230

Rep: Reputation: 30
more clearly, in fstab for smbfs it's

//serverName/shareName /mnat/shareName smbfs passwd=passwd,user=user,rw 0 0

of course you can add more options as required
 
  


Reply



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
Can't allow partion permissions for a vfat partition, mounted as my home folder DrD Linux - General 19 07-26-2006 12:26 PM
Permissions on a mounted vfat USB external harddrive Hikaru79 Linux - Hardware 2 02-25-2005 05:39 PM
mounted vfat permissions n3tw0rk Linux - General 3 12-05-2003 04:41 PM
Permissions problem in mounted vfat partition SparceMatrix Linux - Security 3 04-04-2003 04:19 PM
Permissions problem in mounted vfat partition SparceMatrix Linux - General 2 02-17-2003 02:49 PM

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

All times are GMT -5. The time now is 11:50 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