Hi all,

I want to run a script everytime I plug in my external harddrive. After 
reading the man page I created a file 
called /etc/udev/rules.d/extern_hd.rules:

SUBSYSTEMS=="usb", SYSFS{serial}=="33504D315647585A", SYMLINK+="ExternHD", 
RUN+="/root/scripts/test.sh"

The symlink "ExternHD" gets created, but the RUN command is ignored.
The permissions of test.sh are rwxr-xr-x root root. What am I doing wrong?

Another small question: Is the RUN command executed as the current user or as 
root?

Thanks in advance..
kevin


_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch

Reply via email to