[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Could svn check permissions?

From: Jack Repenning <jrepenning_at_collab.net>
Date: 2003-09-08 20:43:05 CEST

At 2:40 PM -0400 9/8/03, John Peacock wrote:
>
>Except if I call setuid() first, the process is no longer priveleged
>enough to call setgid(). :~( It may be that it is in practice
>impossible to use setgid() to change the current process to an
>alternate group. *nix security is not something I have spent a lot
>of time coding around.

You can still setgid() if the user ID is a member of the group, I
think. If you're trying to set yourself to a group of which you're
not a member, that would be a little weird anyway...

-- 
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: 650.228.2562
c: 408.835-8090
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 8 20:43:58 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.