I'm having a few problems getting automounting working after upgrading from GNOME 2.26 to GNOME 2.28. AFAIK automounting used to use HAL and it is now done though policykit. The problem is that the permissions set by policykit are wrong when I automount a USB flash drive. I can't create or delete files/directories on the drive, even though my user is set as the owner and the permissions appear to be set by default to 0700.
At first, automounting didn't work at all. I then modified the file /usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy which allowed the drive to be automounted. But, I can't modify the contents of the drive even though I have the appropriate permissions. The exact error I get when trying to create a file is:
Error while creating file new file.
There was an error creating the directory in /media/rally2.
Error opening file '/media/rally2/new file': Permission denied
Even if I become root, the problem persists: I can't modify the contents of the drive.
Does anybody know what's going on here?
I am ~amd64, but have unmasked sys-fs/udev (now at 151-r4) specifically to get automounting working.