Weird FvwmCommand error


I am trying to call a custom function from a shell script:

FvwmCommand -f /var/tmp/FvwmCommand-myhostname:0.0 MyFunction

However, I only get

No such file or directory FvwmCommand error in writing lock file

My /var/tmp is writable for regular users, there is free space/free inodes left.

The shell script is run from a udev rule (using “RUN+=…”). When I run the script from an xterm, it runs just fine, no errors.

Any hints?



It’s a permissions problem.

Could you be more specific, please? Where should I look? I assume that you suggest a permission issue upon creating a lock file. Where is the lock file being created and what permissions are required?