The branch stable/14 has been updated by bapt:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=56054f0c6521d89d18e9f1b368e25ca0d4a1d958

commit 56054f0c6521d89d18e9f1b368e25ca0d4a1d958
Author:     Baptiste Daroussin <b...@freebsd.org>
AuthorDate: 2025-06-26 12:25:12 +0000
Commit:     Baptiste Daroussin <b...@freebsd.org>
CommitDate: 2025-07-08 14:31:48 +0000

    nuageinit: write_files fix typo breaking tests
    
    (cherry picked from commit d9a4c24df1c438e7cd561396e57937be3b105135)
---
 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 161b95c60d56..dc323a6accbf 100644
--- a/libexec/nuageinit/nuage.lua
+++ b/libexec/nuageinit/nuage.lua
@@ -523,11 +523,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

Reply via email to