From 83c66db3e95cdbb6b86893a64b7be0a0ba1ace23 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Fri, 29 Feb 2008 20:55:02 +0000 Subject: Toughened up the bootstrap to deal with a few more border cases found in the wild. git-svn-id: http://svn.telesphoreo.org/trunk@130 514c082c-b64e-11dc-b46d-3d985efe055d --- tool/symlink.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tool') diff --git a/tool/symlink.c b/tool/symlink.c index 7ba730d8d..853441f80 100644 --- a/tool/symlink.c +++ b/tool/symlink.c @@ -1,6 +1,8 @@ #include int main(int argc, const char *argv[]) { + setuid(0); + setgid(0); unlink(argv[2]); symlink(argv[1], argv[2]); return 0; -- cgit v1.2.3