I'm using Raspbian on a Raspberry Pi which is based on Debian and have encountered a strange problem.
I compiled a program called
aria2 from source and installed it with make install.
On the config file
I asked it to save it's session file to
Code:
/home/pi/.aria2/session.dat
However, when I run the start-up script
Code:
/etc/init.d/aria2.sh start
It does not run.
If I first make the directory and create an empty file called session.dat, it starts perfectly.
This is not the only program I have noticed has this behaviour.
When you create a mount point in fstab file, it fails to mount unless the directory mentioned already exists.
I am running everything as root so permission cannot be a problem.
Please help me understand if this is normal Linux behaviour or I am missing something.
Thanks in advance.