Subject: Re: perms on /var/tmp/vi.recover and /tmp
To: leam <leam@reuel.net>
From: Perry E. Metzger <perry@piermont.com>
List: netbsd-help
Date: 01/26/2003 21:09:42
leam <leam@reuel.net> writes:
> These were 1755 root:wheel. That seems to be a problem, as I can't write
> a recoverable vi file, and can't put stuff in /tmp for temporary use.
>
> Is there a reason for this, or did I accidently hose something up?
> NetBSD 1.6 on Sparc.
You broke something. Look at /etc/mtree/NetBSD.dist.
You can possibly recover by using mtree with the NetBSD.dist file to
set back any ownerships/permissions you somehow broke.
Perry