chmod after installworld

Jim jhorvath at frabill.com
Tue Oct 28 07:05:32 PST 2003


> -----Original Message-----
> From: Edward Epstein [mailto:peepstein at canada.com]
> Sent: Tuesday, October 28, 2003 8:23 AM
> To: Jim; freebsd-questions at 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 at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at 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


More information about the freebsd-questions mailing list