Since /etc/conf.d/mldonkey has -rw------- 1 root root permissions, starting
mldonkey with the supplied script fails with error message:
$ mldonkey
/usr/bin/mldonkey: line 3: /etc/conf.d/mldonkey: Permission denied
Since the user is not root and the script tries to read the conf.d/mldonkey
file, the error pops up.
Suggestions to workaround:
1. Start the app with mlnet
2. Make the conf.d file with perms -rw-r----- 1 p2p p2p and create the p2p
group
3. Remove the 3rd line from /usr/bin/mldonkey (not sure what the line is needed
for)
Reproducible: Always
Steps to Reproduce:
1. Login as normal user
2. type mldonkey in console
Actual Results:
$ mldonkey
/usr/bin/mldonkey: line 3: /etc/conf.d/mldonkey: Permission denied
Expected Results:
$ mldonkey
2007/05/17 15:25:33 [cO] Starting MLDonkey 2.8.5 ...
2007/05/17 15:25:33 [cO] Language PT, locale UTF-8, ulimit for open files 1024
2007/05/17 15:25:33 [cO] MLDonkey is working in /home/user/.mldonkey
2007/05/17 15:25:33 [cO] creating new MLDonkey base directory in
/home/user/.mldonkey
2007/05/17 15:25:33 [cO] loaded language resource file
(...)
Ebuild reports:
* Running `mldonkey' will start the server inside ~/.mldonkey/
Working only for root ATM.