Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2023 12:32:12 -0700
From:      Steve Rikli <sr@genyosha.net>
To:        Graham Perrin <grahamperrin@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: etcupdate -B, /.cshrc and /.profile
Message-ID:  <ZN51vF36ql6c0UBE@dragon.home.genyosha.net>
In-Reply-To: <ad0c7ea1-e44b-1748-1589-8e9f2f0a25fd@gmail.com>
References:  <ad0c7ea1-e44b-1748-1589-8e9f2f0a25fd@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 17, 2023 at 07:17:20PM +0100, Graham Perrin wrote:
> If I recall correctly, a few hours ago etcupdate -B resulted in removal of
> two files:
> 
> /.cshrc
> /.profile
> 
> Is this degree of checking/removal a novelty?
> 
> (I can't recall the files' contents, or when I created them. I guess that I
> carelessly created them as dot files months ago without realising that I
> wasn't at ~, I don't mourn their loss.)

I suspect you didn't create them, at least not directly or manually; my
system still has them at the moment, and they appear to be the same
from /root/ :

$ uname -mrv
13.2-STABLE FreeBSD 13.2-STABLE stable/13-n255938-fec383bb5385 GENERIC amd64

$ ls -lai /.profile /root/.profile /.cshrc /root/.cshrc 
5 -rw-r--r--  2 root  wheel  1023 May 12  2022 /.cshrc
7 -rw-r--r--  2 root  wheel   507 May 12  2022 /.profile
5 -rw-r--r--  2 root  wheel  1023 May 12  2022 /root/.cshrc
7 -rw-r--r--  2 root  wheel   507 May 12  2022 /root/.profile

I think they were installed by FreeBSD rather than created. My other systems
which have been periodically upgraded over time have the same situation.

Cheers,
sr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZN51vF36ql6c0UBE>