From nobody Thu Jun 26 12:34:54 2025 X-Original-To: dev-commits-src-main@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 4bSdRy5FZ0z60WD5; Thu, 26 Jun 2025 12:34:54 +0000 (UTC) (envelope-from git@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 4bSdRy4Ps8z42ls; Thu, 26 Jun 2025 12:34:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750941294; 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; bh=Kdff85XT8wGyeGgSwMUoezQGK1taNhpgFRFifK+SKcA=; b=WNU4gNN9LFDQBFc6ZIDpggKJgZkIQl34r3GOHKkEa3m40K/IRmEt49dBG8XwE5D2k7GMvB nFHiwu6qNdNurPgKa0i4yN8ZjX50q3bNfIEFZ3FcWmkq5qV+9UREyHBkpClFxCOGXkLwfq GhWefsjy8xnROpMIF3IUT3f6LNcSIktJ6u2wv2wvVNwBDv/6StAjzp+r6mZM16FIWRapmd ciK87P2CAUygtalMDrY0BpjwTHIU8pgaFV+wUn+YEyihoI5kzxO9DmH1LLkZ/Y8ANLZ2K/ kUW5HSXYaXLFB7FjJ+8FGIj2Z5J5R9hML+RZXfWtMCHNHvUyk1/FX8WwrbURwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750941294; 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; bh=Kdff85XT8wGyeGgSwMUoezQGK1taNhpgFRFifK+SKcA=; b=xNa3dl7vyYofX8GhdXGJmZ+vDuglQ+qzmxF2RD6tr40fwVE28AQG98cjiKWPGpm4RECZJ9 gVjGd0bFez4PKSkIVsly88E0pfOPi7dKs8XAKYdfxjLh0WxGmmw3r4MV00rmd1UAB95yt2 pf1mzNqIfrsWnhuoQlubaJq/D5yxNFWHVl98DdwHwzWxnGkIEpUCUnltD/MjEAE3/gWiP4 mY0EKqvFQZopkkvkp4xjAETjlBG6cooxZRBZQy0hkZcYTqd7dRmeOhfgDTgvGrGalT8u05 CLHsuZWceYg0Sm/LzxC8TXE5hZD7PHCpJWiNLXE2fQL3rkyKlp+i3OaIHUpbag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1750941294; a=rsa-sha256; cv=none; b=FU79llWkhKrlif7xcAT1U9KnpWYeZNF1/Siq4fvqPLeZ51CUuznG9MIN2FZpBlC3hiSai+ stgXoNdAVmAEftikfWnQXiOOm+lV/XA+tcwSCPx666cXL01xD9LlFP8aBSnBh3l4pUhA77 cAH0a2Es2CCwvpIhySifB4eU52Lx75UttsUvjWM/XnReFzIhHvKJgm21qFfmcERdLjYh48 GB9nFKBpd/7+Fw7np2cV4C07CQ0mko2ZDUiZfpKbGfae/78R32he88eLTxZso7S0uuzJkB 77xPb17gVTSRbyvFjCE2SOJafdC0OLohIsy+e8SF15IgkFtSk3EAPkC7/L1y2Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4bSdRy3wYQz13Yh; Thu, 26 Jun 2025 12:34:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 55QCYs6P052905; Thu, 26 Jun 2025 12:34:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 55QCYsYS052902; Thu, 26 Jun 2025 12:34:54 GMT (envelope-from git) Date: Thu, 26 Jun 2025 12:34:54 GMT Message-Id: <202506261234.55QCYsYS052902@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Baptiste Daroussin Subject: git: d9a4c24df1c4 - main - nuageinit: write_files fix typo breaking tests List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d9a4c24df1c438e7cd561396e57937be3b105135 Auto-Submitted: auto-generated The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=d9a4c24df1c438e7cd561396e57937be3b105135 commit d9a4c24df1c438e7cd561396e57937be3b105135 Author: Baptiste Daroussin AuthorDate: 2025-06-26 12:25:12 +0000 Commit: Baptiste Daroussin CommitDate: 2025-06-26 12:34:51 +0000 nuageinit: write_files fix typo breaking tests --- libexec/nuageinit/nuage.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/nuageinit/nuage.lua b/libexec/nuageinit/nuage.lua index cdc0fc6cf2a7..8f46f97dc83c 100644 --- a/libexec/nuageinit/nuage.lua +++ b/libexec/nuageinit/nuage.lua @@ -517,11 +517,11 @@ local function addfile(file, defer) if file.permissions then -- convert from octal to decimal local perm = tonumber(file.permissions, 8) - sys_stat.chmod(file.path, perm) + sys_stat.chmod(filepath, perm) end if file.owner then local owner, group = string.match(file.owner, "([^:]+):([^:]+)") - unistd.chown(file.path, owner, group) + unistd.chown(filepath, owner, group) end return true end