From nobody Wed Dec 4 06:30:57 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y37294q5gz5g3Q3 for ; Wed, 04 Dec 2024 06:30:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y37291hLcz4d8T for ; Wed, 4 Dec 2024 06:30:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733293857; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eMzI8UUYZMi0cgHobRwSNXg+VOtEWeek3RpEt2/Qb/4=; b=pdsndmBVCLT0w28Y4v8OLd+F4qQ/QbTPgkfm556mrm8K9OUqXQRLM9GQC5NyevN19Jt6WW DUjrwhu0DdoX0O8iaNqYJCBgRgbokpIoSAoui76PTpZb74LXaUm0B7ew8eMnk+Whz6xJ/D mr9qk6n4bxNNeYSMA83O8GJAJ6EU5pmYmJbExRUtpiBsRxkCkjrvLeOoGb6LJ5yjfdsj3m N9ZoL+FRq/Wm7bpopDQExVhStP0Fhl2ZL9IVv+0PhjmBbXCKU6184pfevHT/6YrMeeAjBg 0rxLL2zJB78at9tOQZtMLbNn6aIiKTe9htNcIqohvTH+FjbketfUQhzHc/YY+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733293857; a=rsa-sha256; cv=none; b=JU3COXb4S/uEmLzT+SpzT5fgP9aIT8QJd6zEu+aWKHj1hAoGab38UR8Lt0naD1rUMizhOW O6ek7KaTj6DcSksgpXIETgtR663dlWeA8f3Y+auEFZZzGsk+cT78poF39HikzfVCRV8X/x OlYFUffT2Id6tmb3KotitRPpH+eMMYLcL+dBDbEZhOuqTUvIu9NXeJGWgWG3RviU3FZEuj ABP9/52+BF46o4RrinXOjTUCKHFIJUoPVXgRSwU14/Is5VFNF5kcW1kbRHbT0Qtu9xa4Ba cCDgVipvDqZIq0zkv2eWu76AlQmcwJgMWLPLDDZf4a5uoDsco0DuR2VMmbM0+w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y37291JVzzwX1 for ; Wed, 4 Dec 2024 06:30:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4B46Uvho003828 for ; Wed, 4 Dec 2024 06:30:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4B46UvjD003827 for bugs@FreeBSD.org; Wed, 4 Dec 2024 06:30:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 175293] [patch] mtree(1): mtree "-u" option doesn't return error for extra directories Date: Wed, 04 Dec 2024 06:30:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 9.1-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jlduran@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D175293 Jose Luis Duran changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jlduran@FreeBSD.org --- Comment #3 from Jose Luis Duran --- It appears this bug is longer present: % mkdir /tmp/mtree % cd /tmp/mtree % mkdir etc home % mtree -c -d > ../out % mtree -d < ../out % echo $? 0 % mkdir etc/temp % mtree -u -d < ../out etc: modification time (Wed Dec 4 12:00:00 2024, Wed Dec 4 12:00:00 20= 24) extra: etc/temp % echo $? 2 # We want to ignore etc, not home % sed -i "" 's/^\(etc[ ]*\)\(.*\)$/\1ignore/' ../out % mtree -d < ../out % echo $? 0 --=20 You are receiving this mail because: You are the assignee for the bug.=