summaryrefslogtreecommitdiffstats
path: root/net/openntpd/patches/003-no_permission_check.patch
blob: 4391a307c8106cd986d94b16008499f73e126422 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/ntp.c
+++ b/ntp.c
@@ -111,8 +111,6 @@ ntp_main(int pipe_prnt[2], struct ntpd_c
 
 	if (stat(chrootdir, &stb) == -1)
 		fatal("stat");
-	if (stb.st_uid != 0 || (stb.st_mode & (S_IWGRP|S_IWOTH)) != 0)
-		fatal("bad privsep dir permissions");
 	if (chroot(chrootdir) == -1)
 		fatal("chroot");
 	if (chdir("/") == -1)