Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #126139

Re: Fail to reset onwership to root after installation

From Lewis <g.kreme@gmail.com.dontsendmecopies>
Newsgroups comp.sys.mac.system
Subject Re: Fail to reset onwership to root after installation
Date 2019-09-04 19:06 +0000
Organization Miskatonic U
Message-ID <slrnqn02pj.1km3.g.kreme@promini.lan> (permalink)
References <BsSbF.83076$%g5.65530@fx21.iad>

Show all headers | View raw


In message <BsSbF.83076$%g5.65530@fx21.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> I tried installing "homebrew" with the big ruby command.

> Part of the text om the pre-installation was:

>==> The following existing directories will have their owner set to jfmezei:
> /usr/local/bin
> /usr/local/share
> /usr/local/share/info
> /usr/local/share/man
> /usr/local/share/man/man1
> /usr/local/share/man/man8


> So I killed it and took snapshot of the directories so I could later
> reset their owners back to original.

You are, still, a fool.


> bike:local $  sudo chown -v root:wheel  /usr/local/bin

> sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

How shocking, you fucked up your sudo executable. This does sound like
something you would do.

> I enabled "root" account

Further evidence you are a fool who does stupid things and then wonders
why things are broken.

> Why would a sudo command not let me set the user back to root ?

Can you read the error message or not? It clearly tells you what you
fucked up.

> What would be the "official" way to do this?

Reformat, reinstall, stop fucking with things you don't understand.

> (right now, I will just restore from backup the whole /usr/local tree to
> undo the damage done by the homebrew installation.

Homebrew did no damage at all, that was all you.

> I thought homebrew would be a clean intall but it appears to be the same
> fucken headackes as trhe macports with messing with the system, multiple
> copies, changing dorectories etc.

Nope. None of that is true. This is classic PEBKAC.

-- 
Blatant mistakes are the best kind. - John W Baxter

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-04 13:25 -0400
  Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-04 13:49 -0400
    Re: Fail to reset onwership to root after installation André G. Isaak <agisaak@gm.invalid> - 2019-09-04 13:44 -0600
      Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-05 14:32 +0000
        Re: Fail to reset onwership to root after installation André G. Isaak <agisaak@gm.invalid> - 2019-09-05 08:38 -0600
          Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-06 00:45 +0000
            Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-06 17:33 +0000
              Re: Fail to reset onwership to root after installation Panthera Tigris Altaica <northentiger@outlook.com> - 2019-09-06 15:16 -0400
                Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-06 20:02 +0000
                Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-07 18:11 +0000
                Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-07 14:20 -0400
                Re: Fail to reset onwership to root after installation nospam <nospam@nospam.invalid> - 2019-09-07 14:22 -0400
                Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-08 15:20 +0000
                Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-08 13:31 -0400
                Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-09 00:12 +0000
                Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-07 18:10 +0000
                Re: Fail to reset onwership to root after installation ~BD~ <BD@nomail.afraid.org> - 2019-09-07 19:43 +0000
        Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-05 23:04 -0400
          Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-06 08:13 +0000
            Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-06 17:46 +0000
            Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-06 15:52 -0400
              Re: Fail to reset onwership to root after installation André G. Isaak <agisaak@gm.invalid> - 2019-09-06 14:03 -0600
              Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-06 20:05 +0000
              Re: Fail to reset onwership to root after installation Alan Baker <nunya@ness.biz> - 2019-09-06 15:57 -0700
              Re: Fail to reset onwership to root after installation Benjamin Esham <usenet@esham.io> - 2019-09-06 19:24 -0400
                Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-07 13:43 -0400
                Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-07 20:32 +0000
                Re: Fail to reset onwership to root after installation Benjamin Esham <usenet@esham.io> - 2019-09-07 16:39 -0400
                Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-08 15:19 +0000
          Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-06 17:38 +0000
  Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-04 19:06 +0000
    Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-04 15:46 -0400
      Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-04 23:54 +0000
        Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-05 23:02 -0400
          Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-06 07:59 +0000
          Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-06 17:36 +0000

csiph-web