Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-13-2007, 09:11 PM
|
#1
|
Member
Registered: Oct 2003
Location: MI, USA
Distribution: Fedora, Ubuntu, Debian
Posts: 63
Rep:
|
Ubuntu Feisty Automounts USB Hard Drives with Permissions for Root Only
I'm running Ubuntu Feisty. When I plug in a USB hard drive, the computer automounts it, but it is mounted with owner 'root', group 'root', etc. My user cannot write to it. Flash memory sticks, however, are mounted normally so that I can read/write to them.
This problem occurs whether the disk is formatted as ntfs, fat32, or ext3.
I have the "Access external storage devices automatically" checkbox in the Users & Groups administration dialog checked.
How can I fix this?
|
|
|
05-13-2007, 11:34 PM
|
#2
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
I think you need to look into 'writing UDEV rules', because as I recall, on Ubuntu/Debian, the /etc/fstab file does not have much/anything to do with USB devices.
You would want a UDEV rule telling the machine how/what permissions to mount the drive, so that users can access it.
|
|
|
05-14-2007, 02:51 AM
|
#3
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep:
|
You can always try editing the relevant line in your /etc/fstab: replace the fourth item ("defaults") with
rw,user,noauto
|
|
|
05-14-2007, 09:37 PM
|
#4
|
Member
Registered: Oct 2003
Location: MI, USA
Distribution: Fedora, Ubuntu, Debian
Posts: 63
Original Poster
Rep:
|
I think this will involve udev rules. More learning to do, I guess. Nobody here or on the Ubuntu forums seems to have solved this problem - I've had messages in both places now for days.
|
|
|
05-14-2007, 09:37 PM
|
#5
|
Member
Registered: Oct 2003
Location: MI, USA
Distribution: Fedora, Ubuntu, Debian
Posts: 63
Original Poster
Rep:
|
Quote:
Originally Posted by jay73
You can always try editing the relevant line in your /etc/fstab: replace the fourth item ("defaults") with
rw,user,noauto
|
I think Ubuntu doesn't handle USB devices through fstab.
|
|
|
All times are GMT -5. The time now is 09:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|