LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  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: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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



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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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