Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2006 01:22:29 GMT
From:      James <jhein_98@swbell.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/92869: Problem with binary permissions in jail
Message-ID:  <200602060122.k161MTtG036454@www.freebsd.org>
Resent-Message-ID: <200602060130.k161U2Ap044820@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602060122.k161MTtG036454>