From owner-freebsd-questions Mon Jan 12 18:35:03 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA14218 for questions-outgoing; Mon, 12 Jan 1998 18:35:03 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA14172 for ; Mon, 12 Jan 1998 18:34:43 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id SAA22143; Mon, 12 Jan 1998 18:34:38 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 12 Jan 1998 18:34:38 -0800 (PST) From: Doug White Reply-To: Doug White To: Leif Neland cc: freebsd-questions@FreeBSD.ORG Subject: Re: mount permission In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On 6 Jan 1998, Leif Neland wrote: > At 06 Jan 98 04:26:05 Doug White wrote regarding Re: mount permission > > DW>> if am not mistaken in 2.2.2-RELEASE we have this kind of access, > DW>> not allowing an ordinary user (non-root) to mount a filesystem. > DW>> what happened? > DW> > DW> I wasn't aware that those permissions changed. Verify your > DW> perms on /sbin/mount* and the target devices. > > A nice thing SysV has (at least in the version I knew) is a program called > perms (or the like) which can save all the owner/group and perms in a textfile, > and later reset all possible changes to the "right" valuesaved in this > textfile. This was often done in distributions, after all the files had been > un-tared from tape. We have a similar utility: mtree. tar can save perms too. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major