|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - General Questions If your question doesn't fit in any other category below ask in here. |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Mounting USB memory sticks
This has probably been dealt with, but I can't find an answer that I can understand I would like to be able to have the following behavior - stick in the usb stick - log in as root (not on console, but e.g. somewhere remote) - mount the usb stick for any user I want Now the system does: - mounts automatically for whoever is logged on console (sometimes /dev/sdb1, sometimes /dev/sdc1 ? why?) - root cannot change the mount (chown chmod) I have read that hal(d) is responsible, or udev, that /etc/fstab should be modified (or not) etc. etc. and don't get any clear picture of what's going on. any help is appreciated thanks Philippe philippe.bopp@u-bordeaux1.fr |
|
|||
|
Quote:
|
|
|||
|
Quote:
looks like this: /dev/sdb1 on /media/KINGSTON type vfat (rw,nosuid,nodev,noatime,flush,uid=1000,utf8,short name=lower) Which is fine and works fine as long as the user who wants to use the stick is on the console. The trick (which I don't know) would be to instruct whichever daemon.... performs the mount NOT to mount automatically (and irrevocably!) for the console user, but either to prompt for the uid which will use the device, or at least allow root to chown/chmod. In other wordsa, I guess: Who mounts, and where are the mount parameters listed above set? Philippe |
|
|||
|
hal mounts
you can't chmod dynamic mount points sdb1, sdc1 and so on correspond to specific usb ports, so specific port will always be sdb1 while another will always be assigned to sdc1 create mount points and add to fstab do not specify fs in fstab obviously if you don't want hal, edit udev rules you can disable automounting in KDE and gnome, create symnink on the desktop to allow users access mounted usb media, so after device is connected, one can easily access it otherwise create mountpoints in whatever dir you want file system really does not matter and it should not be mixed with fs rights. This is quite common mistake. use group management, add user st the storage group to vive them right to manage usb media |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|