LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 02-25-2005, 05:16 PM   #1
Hikaru79
Member
 
Registered: Nov 2004
Location: Waterloo, Ontario (Canada)
Distribution: Gentoo, Kubuntu, FreeBSD
Posts: 37

Rep: Reputation: 15
Permissions on a mounted vfat USB external harddrive


I have an external USB drive that I'm currently mounting with the line:
Code:
mount /dev/sda1 /media/sda1/ -t vfat
I do this as root (I only *can* do this as root). However, I want the regular user(s) (let's call him, 'hikaru79') to be able to access it as well. I can't just set permissions with the regular chmod/chgrp because it is a vfat filesystem, which doesn't recognize UNIX permissions as far as I know. How can I give other users on the machine access to /media/sda1 ? Thanks in advance
 
Old 02-25-2005, 05:32 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
This is how I mount my USB devices so users can read/write
Code:
/dev/sdb1        /mnt/sdb1        vfat        user,umask=1000,rw,noauto    0   0
then after plugging in the device as a normal user issue $ mount /mnt/sdb1
Replace the device and mount point with your choices...
 
Old 02-25-2005, 05:39 PM   #3
Hikaru79
Member
 
Registered: Nov 2004
Location: Waterloo, Ontario (Canada)
Distribution: Gentoo, Kubuntu, FreeBSD
Posts: 37

Original Poster
Rep: Reputation: 15
Worked like a CHARM, Chinaman! ^__^ Thank you!

By the way, I like your signiature quote =)
 
  


Reply

Tags
mount


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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
mounted vfat permissions n3tw0rk Linux - General 3 12-05-2003 04:41 PM
Mounted drive permissions? Vfat kiteless Linux - General 3 08-29-2003 12:32 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


All times are GMT -5. The time now is 10:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration