Carlos E. R. wrote:
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.
It should be interesting when only USB mice and keyboards are available. ;-) -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org