mount point permissions

Andrey Borzenkov arvidjaar at mail.ru
Fri Aug 25 08:52:36 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 25 August 2006 19:13, Alberto Ruiz wrote:
> I've been looking at the hal spec, and I haven't been able to find any
> option of the storage policy to set the permissions of the mount point.
>
> Use case:
> I have a multiuser enviroment (thin clients), and I want the sysadmin (the
> one who uses the terminal server as desktop workstation), be able to mount
> the removable media through HAL, but, I don't want other users being able
> to see the content of the filesystems that he mounts.
>
> This is easy for non-posix file systems, such as VFAT, since I can specify
> a uid and gid for all the files, but, since I want this for backup
> purposes, I need a posix file system. So, I would like to know if there is
> a parametric way to set the default /media/_folder_ permissions for storage
> media when it is created (other than hardcoding the hal storage mount
> script).
>

if filesystem supports uid, permissions of mount point are irrelevant; 
permissions you will see after mount are those of filesystem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE7xzHR6LMutpd94wRAuAaAKCSTjMInpHmD1h7zoVsTMQ9eYoDxgCgr0kS
dpox2bEWZ+NHOTfxitEqKhs=
=18Ts
-----END PGP SIGNATURE-----


More information about the hal mailing list