Date: Tue, 18 Jan 2005 16:20:45 +0100 From: Karol Kwiatkowski <freebsd@orchid.homeunix.org> To: Gardner Bell <gbell72@rogers.com> Cc: freebsd-questions@freebsd.org Subject: Re: chmod: Operation not permitted Message-ID: <41ED294D.6040607@orchid.homeunix.org> In-Reply-To: <20050118145858.GA5984@gardnerbell.ca> References: <20050118145858.GA5984@gardnerbell.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <freebsd at orchid dot homeunix dot org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41ED294D.6040607>