Re: Some information needed, HELP!

2018-09-02 Thread Ken M
On Sun, Sep 02, 2018 at 10:46:44AM -0500, ed...@pettijohn-web.com wrote:
> 
> On Sep 2, 2018 9:55 AM, Ken M  wrote:
> >
> > I am backing up my config info right now and then will try that route, 
> > thank you
> >
> > Sent from my iPad
> >
> > > On Sep 2, 2018, at 10:52 AM, Sol??ne Rapenne  wrote:
> > > 
> > > Le 2018-09-02 16:21, Ken M a ??crit :
> > >> So I did something careless and stupid. Don't get me started but I 
> > >> really messed
> > >> up the group ownership of /usr by carelessly running a command not paying
> > >> attention. Yes I know, my stupidity.
> > >> Can anyone shoot me a quick list of what group should own what under 
> > >> /usr.
> > >> Sorry and thank you.
> > >> If it matters I am running current.
> > >> Ken
> > > 
> > > As you run current, boot bsd.rd and reinstall the sets
> > > for /usr/local one quick way is to save the package list installed 
> > > manually
> > > (pkg_info -lz I think, look at the man page) and reinstal them.
> >
> 
> I've done similar bad things and the bsd.rd route always worked for me.
> 

Reloading the sets saved my bacon. And frankly it was awesome how it just
worked. Dare I confess I debated if I was going to reinstall I was about to
throw fedora on there...

Forgive me puffy I have sinned...

Ken



Re: Some information needed, HELP!

2018-09-02 Thread edgar


On Sep 2, 2018 9:55 AM, Ken M  wrote:
>
> I am backing up my config info right now and then will try that route, thank 
> you
>
> Sent from my iPad
>
> > On Sep 2, 2018, at 10:52 AM, Solène Rapenne  wrote:
> > 
> > Le 2018-09-02 16:21, Ken M a écrit :
> >> So I did something careless and stupid. Don't get me started but I really 
> >> messed
> >> up the group ownership of /usr by carelessly running a command not paying
> >> attention. Yes I know, my stupidity.
> >> Can anyone shoot me a quick list of what group should own what under /usr.
> >> Sorry and thank you.
> >> If it matters I am running current.
> >> Ken
> > 
> > As you run current, boot bsd.rd and reinstall the sets
> > for /usr/local one quick way is to save the package list installed manually
> > (pkg_info -lz I think, look at the man page) and reinstal them.
>

I've done similar bad things and the bsd.rd route always worked for me.



Re: Some information needed, HELP!

2018-09-02 Thread Marcus MERIGHI
k...@mack-z.com (Ken M), 2018.09.02 (Sun) 16:21 (CEST):
> So I did something careless and stupid. Don't get me started but I
> really messed up the group ownership of /usr by carelessly running a
> command not paying attention. Yes I know, my stupidity.
> 
> Can anyone shoot me a quick list of what group should own what under
> /usr.

see /etc/mtree/special !

$ ls -la /usr
drwxr-xr-x   7 root   wheel   512 Aug 24 09:19 X11R6
drwxr-xr-x   2 root   wheel  5632 Aug 24 16:04 bin
drwxr-xr-x   2 root   wheel  1024 Aug 24 16:04 games
drwxr-xr-x  29 root   bin3072 Aug 24 16:04 include
drwxr-xr-x   7 root   wheel  3584 Aug 24 16:06 lib
drwxr-xr-x   5 root   wheel   512 Aug 24 08:39 libdata
drwxr-xr-x   6 root   wheel  1024 Aug 24 16:06 libexec
drwxr-xr-x  15 root   wheel   512 Aug 24 09:18 local
drwxr-xr-x   2 root   wheel   512 Aug 24 08:40 mdec
drwxrwx---   2 build  wobj512 Jan 20  2017 obj
drwxr-xr-x   1 root   wheel25 Mar  6  2017 ports
drwxr-xr-x   2 root   wheel  4096 Aug 25 11:49 sbin
drwxr-xr-x  17 root   wheel   512 Aug 24 08:40 share
drwxrwxr-x   2 root   wsrc512 Jan 20  2017 src
drwxrwx---   2 build  wobj512 Jan 20  2017 xobj

Marcus



Re: Some information needed, HELP!

2018-09-02 Thread Ken M
I am backing up my config info right now and then will try that route, thank you

Sent from my iPad

> On Sep 2, 2018, at 10:52 AM, Solène Rapenne  wrote:
> 
> Le 2018-09-02 16:21, Ken M a écrit :
>> So I did something careless and stupid. Don't get me started but I really 
>> messed
>> up the group ownership of /usr by carelessly running a command not paying
>> attention. Yes I know, my stupidity.
>> Can anyone shoot me a quick list of what group should own what under /usr.
>> Sorry and thank you.
>> If it matters I am running current.
>> Ken
> 
> As you run current, boot bsd.rd and reinstall the sets
> for /usr/local one quick way is to save the package list installed manually
> (pkg_info -lz I think, look at the man page) and reinstal them.



Some information needed, HELP!

2018-09-02 Thread Ken M
So I did something careless and stupid. Don't get me started but I really messed
up the group ownership of /usr by carelessly running a command not paying
attention. Yes I know, my stupidity.

Can anyone shoot me a quick list of what group should own what under /usr.

Sorry and thank you.

If it matters I am running current.

Ken