[pve-devel] [PATCH pve-container 1/2] add perms to ct_file_set_contents

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Nov 6 13:09:22 CET 2015


---
 src/PVE/LXC/Setup/Base.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/LXC/Setup/Base.pm b/src/PVE/LXC/Setup/Base.pm
index 96710f8..d114fb3 100644
--- a/src/PVE/LXC/Setup/Base.pm
+++ b/src/PVE/LXC/Setup/Base.pm
@@ -515,8 +515,8 @@ sub ct_file_get_contents {
 }
 
 sub ct_file_set_contents {
-    my ($self, $file, $data) = @_;
-    return PVE::Tools::file_set_contents($file, $data);
+    my ($self, $file, $data, $perms) = @_;
+    return PVE::Tools::file_set_contents($file, $data, $perms);
 }
 
 1;
-- 
2.1.4





More information about the pve-devel mailing list