How do I set GID/UID and mode bits assigned to the directory in
/media, to which my USB drive is auto-mounted when I plug it in (i.e. to the directory, which represents the drive itself, e.g.
I'm trying to make an auto-mounted drive accessible by several users, belonging to the same group. Bu default I'm getting it accessible to the current user only:
$ ls -ld /media/MyUSBDriveLabel drwx------ 18 user group 16384 1970-01-01 03:00 MyUSBDriveLabel
while I'd like to get something like
drwxrwx--- 18 user sharedgroup 16384 1970-01-01 03:00 MyUSBDriveLabel
Is it doable with Nautilus's auto-mount or should I use some other auto-mount solution?
OS: Ubuntu v10.10