LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-15-2010, 01:45 PM   #1
alund
LQ Newbie
 
Registered: Feb 2006
Location: Denmark
Distribution: gentoo
Posts: 1

Rep: Reputation: 0
ExtN usb disks mount options


When using usb disks, there seems to be a difference in how they are mounted, based on the filesystem type on the disk.

Vfat disks are mounted read/write for users, while extN filesystems are not.

While I can fix that for individual devices, I would like to find a general solution, so that any usb storage device with any filesystem is mounted read/write for users.

I'm using arch linux.

Do you know how to do that?
 
Old 01-16-2010, 09:15 AM   #2
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
There's a very good reason for this difference.
For vfat & ntfs, because they do not natively understand Linux permissions, a generic set of permissions is grafted on during the mount process. For most distros, this gives everyone full read/write access to the partition.

While on ext2/3/4, they do understand Linux permissions & so you have the chance to set or change these permissions for every partition (or device in your case). After you have mounted a partition to a mount point, you need only to change the permissions on that mount point & it will remember it. For example, if your device is mounted at /media/disk and your username is alund. This is what you could do to give your user access.
Quote:
# chown alund.alund /media/disk
This sets your user alund as the owner, so now you have full access. If you want everyone on your system to access it, you could also do this:
Quote:
# chmod 777 /media/disk
The filesystem on the device will remember these changes.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help getting new disks to mount shango Linux - Hardware 6 05-14-2007 11:52 AM
Hald-subfs-mount Unmounts Usb Disks Directly After Mount dop Suse/Novell 0 03-16-2006 10:58 AM
insert options to usb hotplug mount Yuan Linux - Laptop and Netbook 0 10-20-2005 12:41 AM
No options to mount USB Router/Cable Remote DamnSmallLinux 1 03-30-2005 09:01 AM
Can't mount CD-RW-disks corwax Linux - Hardware 1 09-14-2003 06:09 PM


All times are GMT -5. The time now is 10:13 AM.

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