Patches item #509413, was opened at 2002-01-27 20:21
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=303152&aid=509413&group_id=3152

Category: other
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jon Griffin (tresero)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for -g option

Initial Comment:
Fixes bad uid/gid parsing in nsmain. Now it acutally works.

----------------------------------------------------------------------

>Comment By: Jon Griffin (tresero)
Date: 2002-01-28 09:40

Message:
Logged In: YES
user_id=440916

Linux, no -z. It definitly fails without the patch.

If I want to run with a user as -u and nsadmin as -g and had
the aol files in /opt/aolserver but the config and web files
in /home/user then without world read permissions it fails
with permission errors. With the patch and everything else
the  same all worked as expected.

In reading the code it appears that the getuid also gets gid
if the user == 0. Thus it bypassed the -g argument.

Isn't -z just for zippy memory or does it do more?


----------------------------------------------------------------------

Comment By: Kriston Rehberg (kriston)
Date: 2002-01-28 07:13

Message:
Logged In: YES
user_id=16427

On which platforms does this fail?  Do you use the "z"
option while starting up?  We have been using -g and -u
forever on Solaris, SGI, and some other platforms and it works.

Thanks,

Kris




----------------------------------------------------------------------

Comment By: Kriston Rehberg (kriston)
Date: 2002-01-28 07:13

Message:
Logged In: YES
user_id=16427

On which platforms does this fail?  Do you use the "z"
option while starting up?  We have been using -g and -u
forever on Solaris, SGI, and some other platforms and it works.

Thanks,

Kris




----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=303152&aid=509413&group_id=3152

Reply via email to