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


The Thursday 2008-01-03 at 22:26 -0700, Carlos F. Lange wrote:

On Thu January 3 2008 17:44:45 Patrick Shanahan wrote:
And in case I connect it to someone else's machine, it will be
mounted with however is user UID in their machine, which might not
be the current user and then the permissions are not right, etc.

then make the owner of the partition "users"

ie: chmod users:users /mnt/<name>

and "anyone" in users can access it.

For that I need to be root, which in the general case neither me nor the
owner of the machine may be. That is the convenience of the vfat
partition that Hal mounts as owned by the currently active user, as
with the "users" option of mount.

Can I set something on my USB ext2 partition to tell Hal to automount it
as owned by the user?

No. Unix type filesystems are mounted with permissions marked by the filesystem, not by whom is mounting it.

   Interesting problem, this... universal access to an usb stick as user
   plugged in by the user. Mind, on some places usb sticks are banned, and
   the usb bus is disabled in hardware, so that employees can not use usb
   sticks to violate security protocols.

For portability, make directories and load everything inside. And notice, that the user "name" on your computer may not have permission on another machine, because the UID maybe different. Better make sure the directory is marked at least "read" for everybody, possibly "read/write".

- -- Cheers,
       Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHfhGGtTMYHG2NR9URAsFvAJ0b/UqLlSzdUC30hYt5xLlVfYA0qACdG95Y
Z2GtpLgAFjLMdDDwRg+CBak=
=jc8W
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to