From owner-freebsd-questions@FreeBSD.ORG Tue Jan 18 15:20:54 2005 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 97FC716A4CE for ; Tue, 18 Jan 2005 15:20:54 +0000 (GMT) Received: from orchid.homeunix.org (avf115.neoplus.adsl.tpnet.pl [83.27.39.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6153243D48 for ; Tue, 18 Jan 2005 15:20:53 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.1/8.13.1) with ESMTP id j0IFKhup067237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Jan 2005 16:20:50 +0100 (CET) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <41ED294D.6040607@orchid.homeunix.org> Date: Tue, 18 Jan 2005 16:20:45 +0100 From: Karol Kwiatkowski User-Agent: Mozilla Thunderbird 1.0 (X11/20050114) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gardner Bell References: <20050118145858.GA5984@gardnerbell.ca> In-Reply-To: <20050118145858.GA5984@gardnerbell.ca> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/663/Tue Jan 11 23:44:48 2005 clamav-milter version 0.80j on orchid.homeunix.org X-Virus-Status: Clean cc: freebsd-questions@freebsd.org Subject: Re: chmod: Operation not permitted X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 15:20:54 -0000 Gardner Bell wrote: > After rebuilding world last night I can no longer chmod some system > binaries that I don't need. When attemtping to do so I get a permission denied. > root@Spartan# chmod 000 /bin/rcp > chmod: /bin/rcp: Operation not permitted. > > root@spartan# chmod 000 /bin/rlogin > chmod: /bin/rlogin: Operation not permitted > > The only binaries this seems to be happening with are the ones used > for remote operations. Ie: rcp, rlogin, rsh, opieinfo, etc. I > followed the complete instructions in the handbook when rebuilding > world so I don't think that could be the problem. But I did run the > following after the system booted correctly. # ls -lo /bin/rcp -r-sr-xr-x 1 root wheel schg 18388 Jan 10 22:49 /bin/rcp notice "schg" up here ^^^^ Check chlags(1) manpage for more information. Oh, btw. "which rlogin" gives me "/usr/bin/rlogin" on 5.3-RELEASE. Is that a typo in your message? Regards, Karol -- Karol Kwiatkowski