diff --git a/scripts/setup.sh b/scripts/setup.sh index 700960c796..27c5843bb9 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -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`