As suggested in this tutorial I made a copy of the Motion configuration file in my home folder under ~/.motion/motion.conf . But Motion then still tries to access the config-file under /etc/motion/motion.conf . How do I fix this behaviour?
Here is what I get when I start Motion:
nuc@nuc:~$ motion
[0] **could not open configfile /etc/motion/motion.conf: Permission denied**
[0] Not config file to process using default values
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3547904 LIBAVFORMAT_BUILD 3544067
[1] Thread 1 started
[1] Failed to open video device /dev/video0: No such file or directory
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] Retrying until successful connection with camera
[1] Failed to open video device /dev/video0: No such file or directory