LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2004, 12:57 PM   #1
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
mounting fat32 /w write rights for users


My fstab is
Code:
/dev/hda5       /bobbens        vfat    users,umask=000,rw,auto 0 0
Right now I can access the files from both root and user, but I only have write privilages when I'm root, is there any way to have write privilages as a user? thanks
 
Old 10-04-2004, 01:16 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
it might be adding suid to your options. sorry i can't remember for sure.
 
Old 10-04-2004, 06:47 PM   #3
Not now, John!
Member
 
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161

Rep: Reputation: 30
Code:
/dev/hda5       /bobbens        vfat    user,noauto,noexec,rw  0 0
will be sufficient
 
Old 10-04-2004, 07:02 PM   #4
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 32
...and this is how it works on my box:
Code:
/dev/hda5              /bobbens            vfat    umask=000,iocharset=iso8859-1,codepage=850,users        0 0
Cheers, Boby!

Last edited by Boby; 10-04-2004 at 07:06 PM.
 
Old 10-05-2004, 05:30 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Consider using the uid= or gid= options.

The other thing, is with the users option, any user can mount or unmount the partition. Your ~/.bash_profile script could have a couple of lines which unmount and remount the partition, which would give you control of the partition when logging in.
 
  


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
how to enable write support for fat32 patitions for normal users in FC4 truelinux Fedora 2 09-02-2005 04:42 PM
fat32 partition, ordinary users read/write quietbyday Linux - General 1 08-02-2005 12:31 AM
Mounting fat32 drives with read/write access in Fedora a1ex_007 Red Hat 3 03-23-2005 01:38 PM
Mounting FAT32 with write permissions? 65_289 Linux - General 14 06-05-2002 04:40 PM
Mounting a FAT32 drive to be Read_write_execute for all users? Please help shassouneh Linux - Hardware 7 05-19-2002 09:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:15 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration