#!/bin/bash hvbuild_post() { # Prevent the following error when running encryptfs-setup-private as a non root user: # setreuid: Operation not permitted # ERROR: Could not mount private ecryptfs directory chmod +s /sbin/mount.ecryptfs_private install -v -m644 ${SCRDIR}/misc/ecryptfs-pam.d/* /etc/pam.d/ }