You are not logged in.
udevadm info -a -p $(udevadm info -q path -n /dev/sdc1) --- http://sprunge.us/FGYH
As a test, I tried to make a file in my home dir:
KERNEL=="sd?1", ATTRS{serial}=="00000000155facd03099", RUN+="/bin/touch /home/ploppz/hey"However, nothing happens. No new file in my home dir. I ran the exact code I wrote in RUN+= and that created "hey" in my home dir.
The file is saved as 61-automount.rules in /etc/udev/rules.d. The goal is to mount the first partition of my usb drive automatically (but of course for now; simply detecting it and testing).
Offline
I'm no udev expert, but wouldn't you need ACTION=="add|change" in there as well?
Also, why are you trying to use udev for something that udev is not meant to do? There are tools that are specifically meant to handle automounting, and udev alone isn't one of them.
Offline