From owner-freebsd-bugs@FreeBSD.ORG Mon Feb 6 01:30:08 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FB7616A420 for ; Mon, 6 Feb 2006 01:30:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2202C43D45 for ; Mon, 6 Feb 2006 01:30:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k161U2vR044821 for ; Mon, 6 Feb 2006 01:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k161U2Ap044820; Mon, 6 Feb 2006 01:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 6 Feb 2006 01:30:02 GMT Resent-Message-Id: <200602060130.k161U2Ap044820@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, James Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA13216A422 for ; Mon, 6 Feb 2006 01:22:30 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9132343D46 for ; Mon, 6 Feb 2006 01:22:30 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k161MUpj036455 for ; Mon, 6 Feb 2006 01:22:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k161MTtG036454; Mon, 6 Feb 2006 01:22:29 GMT (envelope-from nobody) Message-Id: <200602060122.k161MTtG036454@www.freebsd.org> Date: Mon, 6 Feb 2006 01:22:29 GMT From: James To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: misc/92869: Problem with binary permissions in jail X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2006 01:30:08 -0000 >Number: 92869 >Category: misc >Synopsis: Problem with binary permissions in jail >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 06 01:30:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: James >Release: 6.0 Release >Organization: >Environment: FreeBSD server2k3-samba 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: I was trying to install kerberos from source, and when I went to install it, it couldn't overwrite /usr/bin/rsh. This isn't a problem with kerberos, it's a problem with binary permissions in the jail. # pwd /usr/bin # ls -lo rsh -r-sr-xr-x 1 root wheel schg 8016 Feb 4 16:05 rsh When I try to change permissions on it, so that kerberos can overwrite the binary, I don't have permission. # chflags noschg rsh chflags: rsh: Operation not permitted # chmod u+w rsh chmod: rsh: Operation not permitted # Just wondered if you could shed some light on how I can change the permissions on these jailed binaries. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: