Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2020 10:32:38 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Gordon Bergling <gbe@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Undeletable files after kyua test runs
Message-ID:  <CAN6yY1sBkKaz55OQLDAu7rFRejEkR0vJV343khsDTJZJbrqkag@mail.gmail.com>
In-Reply-To: <20200629172626.GA63722@lion.0xfce3.net>
References:  <20200629172626.GA63722@lion.0xfce3.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 29, 2020 at 10:26 AM Gordon Bergling <gbe@freebsd.org> wrote:

> Hi,
>
> I recently stumbled across undeletable files that are generated by kyua
> test runs,
> for example
>
> -rwxr-xr-x  1 root  wheel  0 May  9 13:10
> /tmp/kyua.aB4q62/8676/work/fileforaudit
>
> I haven't yet identified the test that generate those files, but it is
> impossible
> to delete them. I have clear_tmp_enable="YES" set in the /etc/rc.conf, but
> on every boot the system argues that these file aren't deletable.
> I tried to 'rm -rf' them by hand but, even this wasn't possible. I have
> looked for
> any extend attributes, but I didn't find any.
>
> Has anyone an idea how this is possible and may how these files can be
> deleted?
>
> --Gordon

Have you done 'ls -o' to check for flags like schg?
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



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