Can i mount USB external drive as R/W for multiple users
Linux - GeneralThis 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
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.
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.
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?
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.