"Carlos F. Lange" <carlos.lange@ualberta.ca> writes:
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?
Not that I'm aware of. You can create on your system an own fdi file for hal (AFAIK in /etc/hal/fdi) that does specific action once a specific USB stick is mounted. But that works only on the system you set it up and you need to be root to set it up initially, Andreas -- Andreas Jaeger, Director Platform/openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126