From 425bfdae202a21fee5f5846edfe54575d6dcd3b4 Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Fri, 14 Nov 2008 19:47:28 +0000 Subject: [PATCH] Doh. Need to drop GID first. svn:r17271 --- contrib/linux-tor-prio.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/linux-tor-prio.sh b/contrib/linux-tor-prio.sh index d407c6cdf2..d03b470ca1 100644 --- a/contrib/linux-tor-prio.sh +++ b/contrib/linux-tor-prio.sh @@ -23,8 +23,8 @@ # # #include # int main(int argc, char **argv) { -# if(setresuid(UID, UID, UID) == -1) { perror("setresuid"); return 1; } # if(setresgid(GID, GID, GID) == -1) { perror("setresgid"); return 1; } +# if(setresuid(UID, UID, UID) == -1) { perror("setresuid"); return 1; } # execl("/bin/tor", "/bin/tor", "-f", "/etc/tor/torrc", NULL); # perror("execl"); return 1; # } -- 2.11.4.GIT