I've created a rule in /etc/udev/rules.d/50-custom.rules that reads
KERNEL=="sd?1", ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="Western Digital", ATTRS{model}=="My Passport 070A", SYMLINK+="mypassport"
Ideally, I'd like to run a script, but it's not even creating the symlink. I am mounting the external by clicking on device notifier. Is it possible that there is a permissions issue between this auto-mounting and the udev rule so that it doesn't get executed? The symlink never shows up. If I remove the symlink and run a script that echoes some junk into a file, it also doesn't get executed. I made sure to use the full path and that it worked locally.
KERNEL=="sd?1", ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="Western Digital", ATTRS{model}=="My Passport 070A", SYMLINK+="mypassport"
Ideally, I'd like to run a script, but it's not even creating the symlink. I am mounting the external by clicking on device notifier. Is it possible that there is a permissions issue between this auto-mounting and the udev rule so that it doesn't get executed? The symlink never shows up. If I remove the symlink and run a script that echoes some junk into a file, it also doesn't get executed. I made sure to use the full path and that it worked locally.
Comment