I was thinking the script would inherit the users environment. Which isn't the case. :( I think there are a few ways to work around this. I just suck at shell scripting, so I guess I'll get some practice.
On Apr 23, 2017, 11:13 PM, at 11:13 PM, Jan Lambertz <jd.arb...@googlemail.com> wrote: >Hi, >i am not sure that the hotplug scripts are executed by the system user >of >the person that is sitting in front of the Computer. So, no rights to >files >or no display can be a Problem. How can the Computer know how inserted >that >device ?