On 03/29/2017 03:08 PM, Nick Wyman wrote:
> 
> The setregid call simply returns -1.  What is odd is that it is the wrapper 
> is attempting to set the GID to the current value.  Here is some debugging 
> output:
> 
> check_caller: start
> check_caller: end
> run_script: start
> effective GID 38
> real GID 38
> setregid returned -1
> errno: 1 Operation not permitted


What group is GID 38?

I would expect the wrapper to see the effective GID is that of "list"
and the real GID is that of "www-data" and then to be trying to set the
real GID to be the effective GID.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to