[Pkg-utopia-commits] r196 - packages/hal/trunk/debian

Sjoerd Simons sjoerd@costa.debian.org
Mon, 11 Apr 2005 15:34:08 +0000


Author: sjoerd
Date: 2005-04-11 15:34:07 +0000 (Mon, 11 Apr 2005)
New Revision: 196

Modified:
   packages/hal/trunk/debian/changelog
   packages/hal/trunk/debian/preferences.fdi
Log:
Added example to mount with umask and gid

Modified: packages/hal/trunk/debian/changelog
===================================================================
--- packages/hal/trunk/debian/changelog	2005-04-11 14:50:42 UTC (rev 195)
+++ packages/hal/trunk/debian/changelog	2005-04-11 15:34:07 UTC (rev 196)
@@ -5,8 +5,10 @@
   * Move hal-plugdev.rules link after the setting of permissions, but before
     naming of devices files. Enables the hal/gnome-volume-manager combination to
     work with systems using devfs like naming (Closes:  #302134)
+  * Added an example to set the group id and umask of a mounted volume to
+    preferences.fdi.
 
- -- Sjoerd Simons <sjoerd@debian.org>  Mon, 11 Apr 2005 15:24:03 +0200
+ -- Sjoerd Simons <sjoerd@debian.org>  Mon, 11 Apr 2005 17:32:46 +0200
 
 hal (0.4.7-3) unstable; urgency=low
 

Modified: packages/hal/trunk/debian/preferences.fdi
===================================================================
--- packages/hal/trunk/debian/preferences.fdi	2005-04-11 14:50:42 UTC (rev 195)
+++ packages/hal/trunk/debian/preferences.fdi	2005-04-11 15:34:07 UTC (rev 196)
@@ -52,5 +52,18 @@
     </match>
   </device>
 --> 
+<!-- 
+  The following shows how to set the permissions of a mounted filesystem to
+  group id diskusers and umask 0x0770. Not that one should add some rules to
+  match on more then the device being a volume
+--> 
+<!--
+  <device>
+    <match key="block.is_volume" bool="true">
+       <merge key="volume.policy.mount_option.gid" type="string">diskusers</merge>
+       <merge key="volume.policy.mount_option.umask" type="string">0770</merge>
+    </match>
+  </device>
+-->
 </deviceinfo>