Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2001 20:54:54 -0600
From:      "Stephen Hilton" <nospam@hiltonbsd.com>
To:        "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Cc:        "Michael Silver" <michaelas@yahoo.com>
Subject:   RE: Unable to restore vi (among others)
Message-ID:  <KPEMJADBBBFPDEDOIOMBAEMGDNAA.nospam@hiltonbsd.com>
In-Reply-To: <00d201c17dfe$0a6d8780$0200000a@silvertriad>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Silver asked on Wednesday, December 05, 2001 8:31 PM

> I made a full dump of my /usr dir, however when trying to restore the
> /usr/bin (and a few others) I get errors with only certain files:
>
> ./bin/man: cannot create file: Operation not permitted
> ./bin/login: cannot create file: Operation not permitted
> ./bin/passwd: cannot create file: Operation not permitted
> ./bin/rsh: cannot create file: Operation not permitted
> ./bin/rlogin: cannot create file: Operation not permitted
> ./bin/su: cannot create file: Operation not permitted
>
> All other files seem to be restored.  Any ideas why?  I am logged
> in as root
> on version 4.3.

Your secure level is set greater than -1 in your /etc/rc.conf file, the
files you have listed normally have the schg flag set on them. To see this:

cd /usr/bin
ls -lao | more.

Regards,

Stephen Hilton


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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