LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-12-2004, 09:24 PM   #1
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Rep: Reputation: 30
fat32 and write access for user


i added a partition which is fat32. apparently the user has only read access to this partition. only root can write. how can i make user have write access as well? here is the line from the /etc/fstab:
/dev/hdb5 /mnt/hdb5 vfat noauto,users,exec,umask=1000,gid=1000,uid=1000
 
Old 05-13-2004, 12:22 AM   #2
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
also i tried umask=
1000
000
004
002
007
022
002
none of the above gave me write access as user. any ideas?
 
Old 05-18-2004, 11:15 PM   #3
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 33
fstab entry

/dev/hda5 /mnt/hda5 vfat umask=000,iocharset=iso8859-1,codepage=850,users 0 0

works for me. I suspect you don't even need the iocharset & codepage entries.
The 'noauto' option means the drive will not automount at boot, you will have to manually mount it. If that is what you want & you are manually mounting anyway, 'mount -rw /dev/hda5' should do the trick.
'Umask 000' entry & 'users' entry should give read/write permissions to everybody who is a member of the groups 'users'. Check that your username is a member of group 'users'.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Write access to FAT32 over SMB lozzo81 Linux - Networking 1 11-07-2005 10:43 PM
User can't write mounted fat32 drive? ExoZagNoid Ubuntu 4 06-09-2005 09:05 PM
FAT32 shared drive lacks user write access abijah Linux - General 2 06-28-2004 07:28 PM
Getting write access to FAT32 wgself Red Hat 1 01-16-2004 09:48 AM
read/write remote access to fat32 via samba totococo Linux - General 2 11-06-2003 04:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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