diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-06-26 12:25:12 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-06-26 12:34:51 +0000 |
| commit | d9a4c24df1c438e7cd561396e57937be3b105135 (patch) | |
| tree | 6e2302ba3ef146e70685085c22b8c471f76c3967 | |
| parent | ea4384ec0a8c25a73c7e91423c612c6ef62aba0e (diff) | |
| -rw-r--r-- | libexec/nuageinit/nuage.lua | 4 |
1 files 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 |
