Commit 69d3eba0 authored by Karol Latecki's avatar Karol Latecki Committed by Jim Harris
Browse files

scripts/setup.sh: add hugepage group write permission



Adding group write permission is needed in case of using vfio
driver and using libvirtd for vm provisioning to avoid
permission errors.

Change-Id: I5348e74c65bd8639071c1a2a164f28849dde9678
Signed-off-by: default avatarKarol Latecki <karolx.latecki@intel.com>
parent f66a0c9e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -88,6 +88,7 @@ function configure_linux {
	if [ "$driver_name" = "vfio-pci" ]; then
		if [ "$username" != "" ]; then
			chown "$username" "$hugetlbfs_mount"
			chmod g+w "$hugetlbfs_mount"
		fi

		MEMLOCK_AMNT=`ulimit -l`