Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #126137
| Newsgroups | comp.sys.mac.system |
|---|---|
| From | JF Mezei <jfmezei.spamnot@vaxination.ca> |
| Subject | Fail to reset onwership to root after installation |
| Message-ID | <BsSbF.83076$%g5.65530@fx21.iad> (permalink) |
| Date | 2019-09-04 13:25 -0400 |
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. > bike:~ $ ls -l /usr/local > total 0 > drwxr-xr-x 31 root wheel 992 Sep 4 12:30 bin > lrwxr-xr-x 1 root wheel 52 Apr 25 2012 edit -> /Applications/TextWrangler.app/Contents/Helpers/edit > drwxr-xr-x 12 root wheel 384 Jan 13 2018 libexec > lrwxr-xr-x 1 root wheel 27 Sep 6 2011 mysql -> mysql-5.5.15-osx10.6-x86_64 > drwxr-xr-x 16 root wheel 512 Jan 11 2018 mysql-5.5.15-osx10.6-x86_64 > drwxr-xr-x 3 root wheel 96 Jan 11 2018 remotedesktop > drwxr-xr-x 5 root wheel 160 Jan 13 2018 share > lrwxr-xr-x 1 root wheel 9 Aug 4 2013 simh -> simhv39-0 > drwxr-xrwx 49 root wheel 1568 Jan 11 2018 simh38 > drwxr-xr-x 53 jfmezei admin 1696 Jan 11 2018 simhv39-0 > drwxr-xr-x 13 root wheel 416 Jan 11 2018 wireshark After isntallation, a whole bunch of stuff was added and as promised a the listed directories were changed to me (but wheel left as group) example: /usr/local/bin: drwxrwxr-x 180 jfmezei wheel 5760 Sep 4 12:56 bin BUT 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 I enabled "root" account, but I can't get terminal to keep a window open, and with xterm, it will kill the window after I login to root. (this is high sierra). Why would a sudo command not let me set the user back to root ? What would be the "official" way to do this? (right now, I will just restore from backup the whole /usr/local tree to undo the damage done by the homebrew installation. 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.
Back to comp.sys.mac.system | Previous | Next — Next in thread | Find similar | Unroll 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