ygrek / mldonkey

cross-platform multi-network p2p daemon
http://mldonkey.sourceforge.net/
Other
235 stars 43 forks source link

mldonkey service fails to start when additional share is missing #75

Open superbonaci opened 2 years ago

superbonaci commented 2 years ago

Add additional share with files, then try to restart mldonkey after that share not being available (example mount point). Will fail to start.

2022/01/14 12:15:36 [dMain] Received SIGINT, stopping MLDonkey...
2022/01/14 12:15:37 [cCO] Options correctly saved
2022/01/14 12:15:37 [cCO] Sources correctly saved
2022/01/14 12:15:37 [cCO] Options backup as .tar.gz correctly saved
2022/01/14 12:15:37 [dMain] Core stopped
2022/01/14 12:28:19 [cO] Started logging...
2022/01/14 12:28:19 error mkdir failed on /mnt/shares/windows: Permission denied for directory /mnt/shares/windows
2022/01/14 12:29:08 [cO] Started logging...
2022/01/14 12:29:08 error mkdir failed on /mnt/shares/windows: Permission denied for directory /mnt/shares/windows

Since the default incoming folder is available (~/.mldonkey/incoming), I think it should start.