From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 07:05:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41BB516A4CE for ; Tue, 28 Oct 2003 07:05:32 -0800 (PST) Received: from mail.alexssa.net (whitney.alexssa.net [216.114.4.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2007D43FE0 for ; Tue, 28 Oct 2003 07:05:31 -0800 (PST) (envelope-from jhorvath@frabill.com) Received: from ITADMIN ([66.84.150.146]) by mail.alexssa.net (Merak 6.1.1) with SMTP id MYA74410; Tue, 28 Oct 2003 09:05:30 -0600 From: "Jim" To: Date: Tue, 28 Oct 2003 09:05:29 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <200310280623.20081.peepstein@canada.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: chmod after installworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 15:05:32 -0000 > -----Original Message----- > From: Edward Epstein [mailto:peepstein@canada.com] > Sent: Tuesday, October 28, 2003 8:23 AM > To: Jim; freebsd-questions@freebsd.org > Subject: Re: chmod after installworld > > > On October 28, 2003 5:56 am, 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. > > On my system, those files have the immutable bit set. "man > chflags" will tell > you how to get rid of that flag so you can chmod the file. It's > probably a > good idea to set the flag back once you're done. > > I don't know why the behaviour is different between a fresh > install and an > installworld, though. Now I'm interested to find out. Hopefully > someone will > explain. > > Hopefully this is your problem. > > -Ed > chflags noschg did the trick - many thanks to rp and edward for their assistance. > >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" > > -- > > "There are people who cheat on their spouse but not at cards, and > vice versa, > and both and neither. Reputation is not necessarily portable from one > situation to another, and it's not easily expressed." > --Clay Shirkey. (http://www.shirky.com/writings/group_enemy.html) > > "It has been said that man is a rational animal. All my life I have > been searching for evidence which could support this." > --Bertrand Russell. > > "The American empire is ideological, not territorial. We are the most > ideological people in the world, and we are so united in our view that we > don't understand there can be other views." > --Lt. Gen. William Odom, ret. (Former Director of NSA). > > > _______________________________________________________________________ > This message was scanned and certified Virus Free by Alexssa | HNet. > www.alexssa.net > www.hnet.net _______________________________________________________________________ This message was scanned and certified Virus Free by Alexssa | HNet. www.alexssa.net www.hnet.net