LinuxQuestions.org
Help answer threads with 0 replies.
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 02-18-2011, 02:12 PM   #1
Geojay
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
Automatically mounting with wide open permissions a FAT formatted USB flash drive


I have a netbook running Ubuntu Netbook Edition and I would like a USB flash drive to be automatically mounted whenever I plug it in. The drive is FAT formatted. It mounts when I plug it in but all files are only writable by my user, other users only have read access. I understand that I need to add a corresponding entry to the /etc/fstab file. I've added the following so far:
/dev/sdb1 /mnt/USB_DRIVE vfat

Firstly, is that appropriate so far? I've created /mnt/USB_DRIVE as root.

Next, I'm not sure what options I should be finishing the line with, especially to get all users to be able to write to the drive.

All suggestions gratefully received!

Thanks
 
Old 02-18-2011, 02:19 PM   #2
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
you could try adding "umask=0" after vfat in /etc/fstab
 
Old 02-18-2011, 04:13 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Does ubuntu have user permissions?

https://help.ubuntu.com/community/Mount/USB


Normally the drive ought to be automounted on most OS's. I haven't made a fstab entry in years.
 
  


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
fedora 7: autofs is not mounting USB flash drive or DVD ROM drive Hewson Linux - General 3 05-12-2008 08:58 AM
Trouble mounting external usb hard drive ufs formatted hexstar Linux - Hardware 1 05-24-2007 04:13 PM
USB flash drive mounting android6011 Linux - Hardware 5 01-03-2006 07:45 PM
Mounting a USB Flash Drive Garibaldi3489 Slackware 3 01-04-2005 09:09 PM
Automatically mounting a keyring usb flash device... Frustin Linux - Hardware 1 10-24-2003 10:45 AM

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

All times are GMT -5. The time now is 08:41 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
Open Source Consulting | Domain Registration