Re: DropPrivileges problem

Aaron Dalton <[email protected]>
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
Thanks, Björn. I'm not entering that number anywhere, though. I'm dropping 
to a specified "web" user (u/gid 25000). In fact, my uid and gid are both 
246576, according to "id".

On Friday, 29 April 2016 01:13:04 UTC-6, Björn Pedersen wrote:
>
>
>
>> KeyError: 'getgrgid(): gid not found: 246576'
>>
>> 246576 is my personal UID. The hosting service is running the script as 
>> me, and the intent is that once started, privileges will drop to to uid 
>> 25000. What am I doing wrong?
>>
>> Thanks!!
>>
>
> Hi,
>
>  246576 is your *uid*, so you can not use it as gid. Find the correct 
> group id (as it seems to be a unix host, running 'id' should give you that 
> information.
>
> Björn
>

-- 
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.