Oddity with LXDE and autofs/automount permissions
Greetings,
I have been searching far and wide and cannot seem to narrow this one down. I am running Debian Jessie with LXDE, but not booting to LXDE. I have a USB drive connected to my system and autofs configured and all Auto-mount features unchecked in LXDE/pcmanfm. So if I boot to command line and let autofs mount the USB drive, it mounts as root with permission of 777, just as I have specified in my auto.misc file. However, if I go into LXDE and let autofs mount the drive, it mounts as my user account and permissions of 700. To illustrate, I configured with 2 USB drives and let the first drive mount before loading LXDE and the second I mounted after going into LXDE:
drwxrwxrwx 13 root root 12288 Dec 31 1969 primary
drwx------ 2 grendelos grendelos 4096 Dec 31 1969 secondary
Here is what my auto.misc file has:
primary -fstype=vfat,rw,noatime,nodiratime,user,umask=0 :LABEL=LEXAR_BLUE
secondary -fstype=vfat,rw,noatime,nodiratime,user,umask=0 :LABEL=MC_4GB
So what I can't figure out is how LXDE ties into automount/autofs in order to prevent this from happening. Anyone have any idea?
|