[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB Flash Memory permissions

>On Sat, Jan 27, 2007 at 01:49:39PM +0000, John Talbut wrote:
>> As I understand it, Gnome Volume Manager, invokes pmount-hal which passes
>> back settings from hal and hal gets settings from udev.  I have looked
>> through the various udev rules files and anything to do with hal and I
>> cannot work out how I end up with the line:
>> /dev/myFlash /media/usbdisk vfat
>> rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=1000,umask=077,iocharset=utf8
>> 0 0
>> in /etc/mtab , particularly the umask=077 .  Does anyone know where this
>> value comes from and hence what to change in order to change the
>> permissions?

Wang Xu wrote:

>Did you ever check the ``mount_option'' written in
>/etc/hal/fdi/policy/preferences.fdi ?

Yes, all that seems active there is

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">

Everything else is between <!--  -->, i.e. commented out.

So it does not seem as if the settings are coming from there.

Sven Arvidsson wrote:

>I think you need to edit the source for gnome-volume-manager to change
>that value. After all, g-v-m is what is running pmount when your usb
>stick has been detected.

I do not understand what you mean by "the source for gnome-volume-manager". As I wrote, from what I can find out about g-v-m it gets settings via pmount-hal etc.


Reply to: