misc/92869: Problem with binary permissions in jail
James
jhein_98 at swbell.net
Sun Feb 5 17:30:08 PST 2006
>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 at 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:
More information about the freebsd-bugs
mailing list