JoeyJoeJo
07-08-2003, 12:28 PM
I have one that works fine, but is there any way to give users, not just root permission to write to it? And question 2, is there any way I can have it auto mount when I stick it in?
|
Click to See Complete Forum and Search --> : 2 USB Keychain drive questions JoeyJoeJo 07-08-2003, 12:28 PM I have one that works fine, but is there any way to give users, not just root permission to write to it? And question 2, is there any way I can have it auto mount when I stick it in? sploo22 07-08-2003, 12:35 PM To allow users to write to it, add the option umask=777 to your fstab entry for it. I'm not sure about automounting; I haven't kept up with the current USB hotplugging software. I guess you could write a script that would monitor the log files to detect when it was interted. Not sure exactly how though :( JoeyJoeJo 07-08-2003, 12:36 PM Thanks for the umask. Im not good at writing scripts, but ill try it. sploo22 07-08-2003, 12:43 PM Well, like I said, I don't know what the current situation is with that sort of stuff. I'm sure there's a much simpler and more elegant solution, I'm just not sure what it is. :) Try searching the forum for "usb hotplug". mdwatts 07-08-2003, 12:46 PM If using Mandrake, would supermount take care of that? kshim5 07-08-2003, 12:48 PM To give users or anybody specific permissions to your USB drive as root you have to edit yout /etc/fstab and give each user or users specific permissions the same applies to auto mounting any device you can check the man pages for all this information(man mount). dkeav 07-09-2003, 01:12 PM if using mandrake, supermount will take care of it, if you have autofs installed justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |