]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage.pm
mask world r and group wx permissions in vdisk_alloc
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 21 Jul 2015 06:44:06 +0000 (08:44 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 30 Jul 2015 06:49:46 +0000 (08:49 +0200)
commitafdfbe5594be5a0a61943de10cc5671ac53cbf79
treebb515278deb54f5b8e8ff991746ac3a9f0765f77
parentd75b2a72bb986a488f719a146bbd6a933038c398
mask world r and group wx permissions in vdisk_alloc

Avoid world-readable disk files being created as suggested
in #416 by setting an umask to strip world permissions as
well as group write/exec permissions before calling
alloc_image.
PVE/Storage.pm