On Thu, 2008-01-03 at 15:48 -0700, Carlos F. Lange wrote:
> I partitioned a 2Gb USB stick into 500MB vfat and 1.5 GB ext2 using 
> YaST2 partitioner. When I connect the stick, HAL mounts the vfat 
> partition as username.user, but the ext2 partition as root.root 
> under /media. Anyway to control how Hal mounts the ext2 partition?

The files and directories in the ext2 partition already know who they
belong to - they have uids and gids.

An easy technique that will probably give you what you want is to mount
the stick, then as root create a directory on it called say
'carlos-dir'. Then chown carlos carlos-dir. Now switch back to your
normal carlos userid and you'll be able to do whatever you like in the
carlos-dir directory.

HTH, Dave
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to