From owner-freebsd-current@freebsd.org Mon Jun 29 17:32:56 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D473534F994 for ; Mon, 29 Jun 2020 17:32:56 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49wZMD3YwGz471R; Mon, 29 Jun 2020 17:32:56 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x32a.google.com with SMTP id 18so16250564otv.6; Mon, 29 Jun 2020 10:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jPBSrg5sg8kVH1WnPM3gUVwZ1Cu/CuMWQcDnPN11+Kk=; b=RsULrzxfv/6lvxyFw1DmEfdJdFETEetDB/BFobpoYMqauvryVGqGFmh02S1ItLbP5Y r++pRpRZzL0fFMvPtm5ozWmrDeh7mwO1nSyaC0Jng9mtto3sW8CtOm6SPZCd5RwHhqPG qPTdaP+Z5QX7oGWK2B6wvhvOQocHOhDaq/3hVrIrLhdNub2fTWi6dPsjQq3X/mfr6i8k 9Mqb0H+ipLHcZpVWt2+KjTLeU3qcZJrTTOtPoD5+ITI8bIYozMaP1q9gBfYNobubGIhC 6LGyfnH3qYa90/DMEYOMiIRMFEN+TDPzoHv2ba8jCHdeCAxHEBeBVzC6D+yYlMorQws3 d7kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jPBSrg5sg8kVH1WnPM3gUVwZ1Cu/CuMWQcDnPN11+Kk=; b=C6fuq5LDCbrLuL2EphwrItcWghtTtIYS+W6eaXwmeZOWOA/jKC5xN+Xkxk+u8NGvHM aLDsKEY4dj/wHT0lzCdJcu8mlNny+3pE5XdcGGEZA0/IIyK4BIqn2g7lkrnDP3HC8J9h JOB6pfOsqZQ5M2D+F7cKHce9mQW7wYXL3o2GhbHedyCM7alyvN74HrDd18KE2p1Jji6V Z/E2lUVwqBRNtEUGZVHYNT5fPf/42YlvX48lmlu9/qa4tEW/+RKckngVjp63zWcfGeUX dql+K3DrnpMvea9fSDc6sr8gnWmAyyt/nqrQKkkFZ8ac/872eG4DkmiU7zE9l7J0dNRW eH9Q== X-Gm-Message-State: AOAM531zJe+TVjQcd75gbbC31eifZXHTjT9NBT2RbaCSbnis2Iw6CAds wVF7K13+zr4cjWr8xEdmj+5je7yvVKsn/WLZEHzcpjmGF10= X-Google-Smtp-Source: ABdhPJwsUJrKY5xNmrv35NqVC8aNNHzABIiiT8TBrvY/z81ccanhntECN0DFovqh5webQJxXpOT+VCq5B9zJpRvkdZk= X-Received: by 2002:a9d:3a24:: with SMTP id j33mr14131281otc.271.1593451974883; Mon, 29 Jun 2020 10:32:54 -0700 (PDT) MIME-Version: 1.0 References: <20200629172626.GA63722@lion.0xfce3.net> In-Reply-To: <20200629172626.GA63722@lion.0xfce3.net> From: Kevin Oberman Date: Mon, 29 Jun 2020 10:32:38 -0700 Message-ID: Subject: Re: Undeletable files after kyua test runs To: Gordon Bergling Cc: FreeBSD Current X-Rspamd-Queue-Id: 49wZMD3YwGz471R X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2020 17:32:56 -0000 On Mon, Jun 29, 2020 at 10:26 AM Gordon Bergling 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