LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-12-2010, 09:16 AM   #1
andycorpes
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Can i mount USB external drive as R/W for multiple users


Hi group,

I would like to mount a (permanently) attached external USB drive so that it is writable by multiple userids. Currently HAL is mounting the drive as writable to my owner user and readable for group and others. My m/c also runs as an FTP server and i would like said FTP server to be able to write files to the external drive. Just being able to specify a gid would probably do the job for me.

I have googled HAL and UDEV and also attempted to configure usbmount to do this, all to no avail.

i am not even sure if it is possible, so if someone could put me on the right track with this i would be very gratefull.

I am running SLES 10.3

SO in summary, can i & how do i either make HAL mount the drive with gid=nnn, or should i not use HAL and simply make an entry in /etc/fstab and make sure a i get the same device address for this USB drive each time i boot?

Andy
 
Old 01-12-2010, 09:36 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
what did you do with udev?

or write a new script for using mount

mount --make-shared mountpoint
 
Old 01-13-2010, 06:03 AM   #3
andycorpes
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Amani,

I havn't done anything with UDEV yet, i am still trying to figure out if i should try to do this via HAL and it's horrible XML config, UDEV, or if i could make my life a little easier by using a FSTAB entry. I was concerned that perhaps this should not be done with a USB drive (2 users trying to change same data), or that i could not be sure that the usb drive would be assigned to sdb1 each time the system was restarted when a pen drive was plugged in.

Andy
 
Old 01-16-2010, 10:40 AM   #4
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
one way is to use labels or uuid with fstab entry

see
man tune2fs
 
Old 01-17-2010, 02:33 PM   #5
andycorpes
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks Amani, i have used a FSTAB entry and all is Ok. I am a little concerned the device address may change, i'll just have to be carefull what i have plugged in when ever i reboot
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
External Usb Drive is recognized but will not mount sidrit Ubuntu 4 12-30-2007 05:51 PM
Mounting USB external drive with multiple partitions, USB bluetooth mouse xmeson Slackware 7 12-17-2006 09:00 AM
Mount external USB cdrom drive rickenbacherus Linux - Hardware 3 05-29-2006 07:12 PM
How to Mount External USB CD Drive? ArchiMark Linux - Laptop and Netbook 12 05-29-2006 07:10 PM
How to mount external USB hard drive? zyzyis Linux - Newbie 6 02-01-2006 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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