Kaj Haulrich wrote:

On Monday 27 December 2004 00:29, SnapafunFrank wrote:

Hi

I am trying to get my system to allow users to plug in a usb [
mass_storage ] device in such a way that they need only plug it
in - read/write - and disconnect it, all without having to use
the command line.


Maybe this quote from an earlier post can help :


I was having the exact same problem, and the only solution i could

find

was to do as follows:

edit the file /usr/lib/libDrakX/fs/mount_options.pm

and change the line
vfat => [ qw(umask=0 umask=0022) ],
to
vfat => [ qw(umask=0 umask=0000) ],

and
'umask=0' => $opts{security} < 3, 'umask=0022' => $opts{security}


<
4,

to
'umask=0' => $opts{security} < 3, 'umask=0000' => $opts{security}



Worked for me, but as usual YMMV.

Kaj Haulrich.

Not for me so maybe I've missed something somewhere:

[EMAIL PROTECTED] mnt]# ls -al
total 143
drwxr-xr-x   18 root  root   4096 Dec 25 00:56 ./
drwxr-xr-x   24 root  root   4096 Dec 27 19:59 ../
drwxr-xr-x    2 frank frank  4096 Dec 26 01:23 16MB/
drwxr--r--    5 root  root  16384 Jan  1  1970 64MB/
drwxr-xr-x    2 frank frank  4096 Dec 24 01:22 Camera/
<snip>

I also notice that root is dated Jan 1 1970 - so something there for me to fix also.

I'm further confused by the statement above alleging that others have reading permissions.
It's just that when I select the directory " /mnt/64MB ' as a user using GUI I get the pop up " Access Denied "


And now it would appear that I may have lost the data contained on this device:

[EMAIL PROTECTED] mnt]# cd 64MB/
[EMAIL PROTECTED] 64MB]# ls
[EMAIL PROTECTED] 64MB]# cd ..
[EMAIL PROTECTED] mnt]# mount /udev/64MB1 /mnt/64MB
mount: /udev/64MB1 already mounted or /mnt/64MB busy
mount: according to mtab, /udev/64MB1 is already mounted on /mnt/64MB
[EMAIL PROTECTED] mnt]# mount /udev/64MB1 /mnt/64MB
[EMAIL PROTECTED] mnt]# umount 64MB
umount: /mnt/64MB: device is busy
umount: /mnt/64MB: device is busy

I removed the device at this point

[EMAIL PROTECTED] mnt]# umount 64MB]
umount: 64MB]: not found

I re-inserted the device at this point

[EMAIL PROTECTED] mnt]# ls /udev
536ep0 hdd rfcomm100 rfcomm131 rfcomm162 rfcomm193 rfcomm223 rfcomm254 rfcomm55 rfcomm86 tty19 tty5
64MB input/ rfcomm101 rfcomm132 rfcomm163 rfcomm194 rfcomm224 rfcomm255 rfcomm56 rfcomm87 tty2 tty50
64MB0 kmem rfcomm102 rfcomm133 rfcomm164 rfcomm195 rfcomm225 rfcomm26 rfcomm57 rfcomm88 tty20 tty51
64MB1 kmsg rfcomm103 rfcomm134 rfcomm165 rfcomm196 rfcomm226 rfcomm27 rfcomm58 rfcomm89 tty21 tty52
adsp lp0
<SNIP>
[EMAIL PROTECTED] mnt]# cd 64MB
[EMAIL PROTECTED] 64MB]# ls
[EMAIL PROTECTED] 64MB]# cd ..
[EMAIL PROTECTED] mnt]# umount 64MB
umount: /mnt/64MB: device is busy
umount: /mnt/64MB: device is busy


I just can't seem to win with this one. Any more ideas please? [ Yeah, I'm begging and don't care at this point. - I'll recover my pride later. ]

--
Regards

SnapafunFrank

Big or small, a challenge requires the same commitment to resolve.
Registered Linux User # 324213



____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to