From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 06:00:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B1B716A4CE for ; Tue, 28 Oct 2003 06:00:59 -0800 (PST) Received: from isis.telemach.net (isis.telemach.net [213.143.65.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D82D643FDF for ; Tue, 28 Oct 2003 06:00:57 -0800 (PST) (envelope-from rp@telemach.net) Received: by isis.telemach.net (Postfix, from userid 1002) id 863227A55F; Tue, 28 Oct 2003 15:00:53 +0100 (CET) Date: Tue, 28 Oct 2003 15:00:53 +0100 From: "(rp)" To: Jim Message-ID: <20031028140053.GA32413@isis.telemach.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-NCC-Regid: SI.MMTC cc: FREEBSD-QUESTIONS@FREEBSD.ORG Subject: Re: chmod after installworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 14:00:59 -0000 On Tue, Oct 28, 2003 at 07:56:43AM -0600, Jim wrote: > New to FreeBSD. Version 4.8 stable. Fresh install. > > Why am I allowed to chmod 000 a file after installation (ex: /usr/bin/rsh, > or /usr/bin/yppasswd), but cannot following a cvsup and installworld? I get > an "Operation not allowed" message after updating. > > A listing of the file shows "-r-sr-xr-x root wheel" as the permissions and > ownership. The "s" is common to all the files I cannot change (I believe > this indicates the suid bit (which is why I'm trying to chmod this in the > first place)), but chmod 0000 produces the same results (not allowed). > > I am logged in as root on the console, am not running ACL, yellow pages, or > anything else for authentication beyond master.passwd at this stage (fresh > install). > > I have looked at the man page for chmod, and searched google, with no > results. > > Please help. > > > > > > _______________________________________________________________________ > This message was scanned and certified Virus Free by Alexssa | HNet. > www.alexssa.net > www.hnet.net > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" First use chflags noschg /usr/bin/rsh. Btw you can check flags via ls -alo /usr/bin/rsh. RP