Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Bug#255245: mldonkey-server: does run with permissions of groups that the mldonkey user is added to
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Arthur Peters  
View profile  
 More options Jun 19 2004, 3:20 pm
Newsgroups: linux.debian.bugs.dist
From: Arthur Peters <a...@singingwizard.org>
Date: Sat, 19 Jun 2004 21:20:04 +0200
Local: Sat, Jun 19 2004 3:20 pm
Subject: Bug#255245: mldonkey-server: does run with permissions of groups that the mldonkey user is added to
Package: mldonkey-server
Version: 2.5.21-2
Severity: normal

When the mldonkey server is started using the mldonkey_server program it switchs to
user and group mldonkey but does not show any groups to which the mldonkey user belongs.
This is a problem for me because the files I want to share are on a drive that is
only accessable by group windows and a NFS mount that is only accessable by group mp3s.

Just in case it matters, I did hack the config files by hand a bit so the debconf info in
the message may not be the current configuration.

>From /etc/groups:

<cut>
windows:x:1001:amp,mldonkey
gdm:x:103:
ssh:x:104:
mp3s:x:2000:amp,mldonkey
mldonkey:x:1002:amp
<cut>

/proc/<mlnet's PID>/status:
Name:   mlnet
State:  S (sleeping)
SleepAVG:       89%
Tgid:   30162
Pid:    30162
PPid:   30155
TracerPid:      0
Uid:    104     104     104     104
Gid:    1002    1002    1002    1002
FDSize: 256
Groups:
VmSize:   141172 kB
VmLck:         0 kB
VmRSS:    136680 kB
VmData:   136440 kB
VmStk:        48 kB
VmExe:      1896 kB
VmLib:      1756 kB
Threads:        1
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000000015403
CapInh: 00000000ffffffff
CapPrm: 0000000000000000
CapEff: 0000000000000000

Note that the Groups line shows nothing.

if I start mlnet using "cd ~mldonkey/; sudo -u mldonkey mlnet" I get:
Name:   mlnet
State:  S (sleeping)
SleepAVG:       99%
Tgid:   16046
Pid:    16046
PPid:   1
TracerPid:      0
Uid:    104     104     104     104
Gid:    1002    1002    1002    1002
FDSize: 256
Groups: 1001 1002 2000
VmSize:    17528 kB
VmLck:         0 kB
VmRSS:     15680 kB
VmData:    12792 kB
VmStk:        52 kB
VmExe:      1896 kB
VmLib:      1756 kB
Threads:        1
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000004
SigCgt: 0000000000015403
CapInh: 00000000ffffffff
CapPrm: 0000000000000000
CapEff: 0000000000000000

Now groups includes the groups mldonkey belongs.

Thanks
Arthur Peters

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-rc3
Locale: LANG=C, LC_CTYPE=C

Versions of packages mldonkey-server depends on:
ii  adduser                     3.56         Add and remove users and groups
ii  debconf [debconf-2.0]       1.4.28       Debian configuration management sy
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  mime-support                3.26-1       MIME files 'mime.types' & 'mailcap
ii  zlib1g                      1:1.2.1.1-3  compression library - runtime

-- debconf information:
* mldonkey-server/max_hard_download_rate: 120
* mldonkey-server/launch_at_startup: true
  mldonkey-server/config_exist_no_options:
* mldonkey-server/max_alive: 26
* mldonkey-server/run_as_user: mldonkey
* mldonkey-server/plugin: Directconnect, Opennap, Overnet, Soulseek, Bittorent, Gnutella
  mldonkey-server/reown_file: false
* mldonkey-server/mldonkey_group: mldonkey
* mldonkey-server/mldonkey_niceness: 8
  mldonkey-server/config_exist_no_dir:
  mldonkey-server/false_password:
* mldonkey-server/fasttrack_problem:
  mldonkey-server/shared_directories: share
* mldonkey-server/mldonkey_dir: /home/mldonkey
* mldonkey-server/client_name: newbie
  mldonkey-server/mldonkey_move: false
* mldonkey-server/max_hard_upload_rate: 12
* mldonkey-server/mldonkey_umask: 0002

--
To UNSUBSCRIBE, email to debian-bugs-dist-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sylvain LE GALL  
View profile  
 More options Jun 19 2004, 7:20 pm
Newsgroups: linux.debian.bugs.dist
From: "Sylvain LE GALL" <sylvain.le-g...@polytechnique.org>
Date: Sun, 20 Jun 2004 01:20:06 +0200
Local: Sat, Jun 19 2004 7:20 pm
Subject: Bug#255245: mldonkey-server: does run with permissions of groups that the mldonkey user is added to
Hello,

Well, you are right, i miss a "setgid" in the code of mldonkey_server...
I will do some tests and see if it solves your problem.

You will need to wait till the next release !

Regard
Sylvain Le Gall

--
To UNSUBSCRIBE, email to debian-bugs-dist-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »