LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2006, 11:51 PM   #1
jwsegar
LQ Newbie
 
Registered: Jun 2006
Location: Texas
Distribution: Fedora Core 5
Posts: 7

Rep: Reputation: 0
Changing default permissions on external USB drive


Alrighty, the simple dilemma is this:

I have an external hard drive which Fedora Core 5 recognizes and mounts automatically. The problem with this is that it sets the permissions as 500, basically giving root and only root rx access. It is an NTFS formatted drive so I understand I can't write to it, that's not what I want to accomplish here. I can unmount it and remount it with a umask of 0222 and everyone has rx access which is what I want but I don't want to have to do that every time I plug this thing in. I've found where to change whether or not fedora mounts it automatically but again I want it to automatically recognize/mount it but I want everyone to have rx access. Is there a setting somewhere that I'm missing that will allow me to accomplish this.

The tougher question is:

I'm not really into asking questions and getting straight answers if that makes any sense. I want to know why it works that way and what processes/files are involved from start to finish when you plug in a usb device. If anyone can answer this it would probably help out a little bit more then just providing an answer to the question above.

I must say upfront though that I haven't even touched the fstab. I don't really see where this would come into play unless I wanted to manually mount this drive every time, which I don't.

Thanks for the help.

Last edited by jwsegar; 06-10-2006 at 11:53 PM.
 
Old 06-11-2006, 01:02 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, and welcome to LQ! :}

I use usbmanager, a script for usbmanager and an fstab entry to
achieve my goal. I don't like automounters, supermount or the
likes, but am quite happy to use usbmanagers capability to run a
script after a hot-plug event to mount my USB devices.


Cheers,
Tink

Last edited by Tinkster; 06-11-2006 at 01:04 AM.
 
Old 06-11-2006, 08:11 PM   #3
jwsegar
LQ Newbie
 
Registered: Jun 2006
Location: Texas
Distribution: Fedora Core 5
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the info Tinkster, that will definitely be a better work around than what I had in mind. It appears that fstab-sync was removed with FC5, which seems to be causing this problem.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
User permissions for external USB drive FC5 Skarekroh Fedora 7 04-16-2007 12:57 AM
Changing permissions on USB external drives theufman Linux - Hardware 9 11-29-2005 10:08 PM
Write permissions for external hard drive kg4ysy Linux - Hardware 1 05-19-2005 06:36 AM
external hard drive permissions djljjm Linux - Hardware 12 04-06-2005 02:23 PM
Setting permissions on an external USB hard drive so that all users can read from it? Pi Man Linux - Hardware 2 09-07-2004 10:50 PM


All times are GMT -5. The time now is 06:32 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration