Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 178883
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo net-p2p team <net-p2p@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Renato Alves <simpledark@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 178883 depends on: Show dependency tree
Bug 178883 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-17 14:31 0000
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.

------- Comment #1 From Raúl Porcel 2007-05-17 15:26:18 0000 -------
The mldonkey script is useless.

mlnet already creates the needed dirs.

Removed, thanks.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug