mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 09:21:53 +00:00
ubuntu-cpc: secure esp mountpoint (LP: #1881006)
Change mount option for ubuntu-cpc images from "defaults" to "umask=0077". ESP partitions might contain sensitive data and non-root users shouldn't have read access on it.
This commit is contained in:
parent
6c2b5816c7
commit
8039471375
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -1,3 +1,12 @@
|
|||||||
|
livecd-rootfs (2.525.52) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* ubuntu-cpc: secure esp mountpoint (LP: #1881006)
|
||||||
|
Change mount option for ubuntu-cpc images from "defaults" to "umask=0077"
|
||||||
|
ESP partitions might contain sensitive data and non-root users shouldn't
|
||||||
|
have read access on it.
|
||||||
|
|
||||||
|
-- Gauthier Jolly <gauthier.jolly@canonical.com> Wed, 17 Mar 2021 16:55:37 +0000
|
||||||
|
|
||||||
livecd-rootfs (2.525.51) bionic; urgency=medium
|
livecd-rootfs (2.525.51) bionic; urgency=medium
|
||||||
|
|
||||||
[ David Krauser ]
|
[ David Krauser ]
|
||||||
|
@ -58,7 +58,7 @@ create_and_mount_uefi_partition() {
|
|||||||
mount "${uefi_dev}" "$mountpoint"/boot/efi
|
mount "${uefi_dev}" "$mountpoint"/boot/efi
|
||||||
|
|
||||||
cat << EOF >> "mountpoint/etc/fstab"
|
cat << EOF >> "mountpoint/etc/fstab"
|
||||||
LABEL=UEFI /boot/efi vfat defaults 0 1
|
LABEL=UEFI /boot/efi vfat umask=0077 0 1
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user