Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • 1
    Does it run if you use something even simpler like ls? Also, do you actually have a /home/root directory? Root's $HOME is usually /root. Commented Sep 4, 2013 at 18:42
  • "Version 1 uses environment variables which I'm not sure whether or not the rule has access to." -- I believe that is correct, you don't get any ENV stuff for "add" events. Your echo's are not going to show up anywhere, but you can use the logger command to pipe stuff to syslog. Commented Sep 4, 2013 at 19:15
  • Possible answer here: udev-rule-is-not-being-used. Commented Sep 4, 2013 at 19:26
  • @terdon When I pwd I get /home/root. Commented Sep 4, 2013 at 19:27
  • @terdon ls Doesn't run either. Commented Sep 4, 2013 at 19:32