After a pile of searching I have done the following to get my new SanDisk usb stick going-
nano -w /etc/modprobe.conf and added options scsi_mod max_scsi_luns=16 to the bottom of the list
nano -w /etc/updfstab.conf.default and added device cruzer { partition 1 match hd Cruzer } to the bottom of the list
did mkdir /mnt/cruzer
and even chmod 777 /mnt/cruzer
When I mount my /dev/sda1 to /mnt/cruzer I can see a file already there from SanDisk - a win$#%@.exe type of file.
df -h shows about 244 megs on the disk, but a normal user can not write to the device. I get a nice access denied message.
What must I do to get this stinkin thing working for any person?
Oh, and with these entries, my Sony camera can't be accessed.
Thanks :-)
Jim
_________________________________________________________________ Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI... Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.
On Sun, 26 Sep 2004 21:42:01 -0600, Jim Christiansen christiansen_j@hotmail.com wrote:
After a pile of searching I have done the following to get my new SanDisk usb stick going-
[snipped]
Add the following to your /etc/security/console.perms
<cruzer>=/mnt/cruzer*
<console> 0600 <cruzer> 0660 root.disk
Anyway, I'm not using that approach above. I just have an fstab entry for /dev/sda1 with user, instead of owner for the mount options. But then, I only have one USB mass storage device so this is pretty convenient on my part.
Oh, and with these entries, my Sony camera can't be accessed.
What updfstab entries are you using for your sony camera?
On Sun, 2004-09-26 at 22:42, Jim Christiansen wrote:
After a pile of searching I have done the following to get my new SanDisk usb stick going-
nano -w /etc/modprobe.conf and added options scsi_mod max_scsi_luns=16 to the bottom of the list
nano -w /etc/updfstab.conf.default and added device cruzer { partition 1 match hd Cruzer } to the bottom of the list
did mkdir /mnt/cruzer
and even chmod 777 /mnt/cruzer
When I mount my /dev/sda1 to /mnt/cruzer I can see a file already there from SanDisk - a win$#%@.exe type of file.
df -h shows about 244 megs on the disk, but a normal user can not write to the device. I get a nice access denied message.
What must I do to get this stinkin thing working for any person?
Oh, and with these entries, my Sony camera can't be accessed.
Thanks :-)
Jim
In /etc/fstab you should put a line such as: /dev/sda1 /mnt/cruzer auto noauto,users 0 0
where /dev/sda1 matches the device that is mapped to your cruzer, auto (or specific filesystem type) is the filesystem type, and /mnt/cruzer is the mount point to be used. Make changes as appropriate.
This then should allow the individual user to mount/dismount it similar to what is done for cdroms and give the user full ownership.
On Sun, 26 Sep 2004 23:39:52 -0500, Jeff Vian jvian10@charter.net wrote:
In /etc/fstab you should put a line such as: /dev/sda1 /mnt/cruzer auto noauto,users 0 0
The problem with that is when you want to use multiple USB storage devices. That's why the updfstab option, which will put and remove the necessary fstab entry. The problem with updfstab is that it uses "owner" instead of "users" under the mount options column (which was the problem of the original poster). That's why you need to set the necessary permissions under /etc/security/console.perms.