]> git.proxmox.com Git - pve-common.git/commit - src/PVE/Tools.pm
tools: use int() on all integer syscall parameters
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 17 May 2022 12:40:03 +0000 (14:40 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 20 May 2022 07:47:34 +0000 (09:47 +0200)
commit6647801cb374e75b48d488484893559ffcfb1203
treedf52e089f16480817aa854b70a036e0b21ec5577
parentc663330d85bcc87054655e7e9ea0d4db058b70af
tools: use int() on all integer syscall parameters

this should fix an issue where users with custom id mappings
get bad ownership on intermediate directories caused by the
rootuid/gid being the string "100000" in perl instead of the
number 100000...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/Tools.pm