Date: Tue, 28 Oct 2003 15:00:53 +0100 From: "(rp)" <rp@telemach.net> To: Jim <jhorvath@frabill.com> Cc: FREEBSD-QUESTIONS@FREEBSD.ORG Subject: Re: chmod after installworld Message-ID: <20031028140053.GA32413@isis.telemach.net> In-Reply-To: <FCEALFLMBJHCOMLJCGNEKENKDFAA.jhorvath@frabill.com> References: <FCEALFLMBJHCOMLJCGNEKENKDFAA.jhorvath@frabill.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 28, 2003 at 07:56:43AM -0600, Jim wrote: > New to FreeBSD. Version 4.8 stable. Fresh install. > > Why am I allowed to chmod 000 a file after installation (ex: /usr/bin/rsh, > or /usr/bin/yppasswd), but cannot following a cvsup and installworld? I get > an "Operation not allowed" message after updating. > > A listing of the file shows "-r-sr-xr-x root wheel" as the permissions and > ownership. The "s" is common to all the files I cannot change (I believe > this indicates the suid bit (which is why I'm trying to chmod this in the > first place)), but chmod 0000 produces the same results (not allowed). > > I am logged in as root on the console, am not running ACL, yellow pages, or > anything else for authentication beyond master.passwd at this stage (fresh > install). > > I have looked at the man page for chmod, and searched google, with no > results. > > Please help. > > > > > > _______________________________________________________________________ > This message was scanned and certified Virus Free by Alexssa | HNet. > www.alexssa.net > www.hnet.net > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" First use chflags noschg /usr/bin/rsh. Btw you can check flags via ls -alo /usr/bin/rsh. RP
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031028140053.GA32413>