From 860ca8fd8538f8928f5b0556ff554a97cf14afb2 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Thu, 30 Aug 2001 09:18:55 +0000 Subject: [PATCH] restore(8) doesn't need to be setgid `tty', and never did. At the times, restore(8) and rrestore(8) were the different utilities. rrestore(8) was installed setuid `root', while restore(8) with usual ownership and privileges. Later on, on August 28, 1991 (what a coincidence!), rrestore(8) code was merged with restore(8). The setgid `tty' bit then was accidentally put. --- sbin/restore/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/sbin/restore/Makefile b/sbin/restore/Makefile index 16169cb117fb..7de467311bac 100644 --- a/sbin/restore/Makefile +++ b/sbin/restore/Makefile @@ -7,8 +7,6 @@ CFLAGS+=-DRRESTORE CFLAGS+=-I${.CURDIR}/../../libexec/rlogind SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \ dumprmt.c -BINGRP= tty -BINMODE=2555 MAN= restore.8 MLINKS+=restore.8 rrestore.8 .PATH: ${.CURDIR}/../dump