<br><br><div><span class="gmail_quote">2006/8/25, Andrey Borzenkov &lt;<a href="mailto:arvidjaar@mail.ru">arvidjaar@mail.ru</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>On Friday 25 August 2006 19:13, Alberto Ruiz wrote:<br>&gt; I've been looking at the hal spec, and I haven't been able to find any<br>&gt; option of the storage policy to set the permissions of the mount point.
<br>&gt;<br>&gt; Use case:<br>&gt; I have a multiuser enviroment (thin clients), and I want the sysadmin (the<br>&gt; one who uses the terminal server as desktop workstation), be able to mount<br>&gt; the removable media through HAL, but, I don't want other users being able
<br>&gt; to see the content of the filesystems that he mounts.<br>&gt;<br>&gt; This is easy for non-posix file systems, such as VFAT, since I can specify<br>&gt; a uid and gid for all the files, but, since I want this for backup
<br>&gt; purposes, I need a posix file system. So, I would like to know if there is<br>&gt; a parametric way to set the default /media/_folder_ permissions for storage<br>&gt; media when it is created (other than hardcoding the hal storage mount
<br>&gt; script).<br>&gt;<br><br>if filesystem supports uid, permissions of mount point are irrelevant;<br>permissions you will see after mount are those of filesystem.</blockquote><div><br>Ext2, ext3, XFS, reiserfs and jfs doesn't support uid. I need to set uid and permissions of the root directory.
<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.5 (GNU/Linux)<br><br>iD8DBQFE7xzHR6LMutpd94wRAuAaAKCSTjMInpHmD1h7zoVsTMQ9eYoDxgCgr0kS
<br>dpox2bEWZ+NHOTfxitEqKhs=<br>=18Ts<br>-----END PGP SIGNATURE-----<br></blockquote></div><br><br clear="all"><br>-- <br>Un saludo,<br>Alberto Ruiz