Skip to content

Commit

Permalink
fix tmpfs permissions in bdii-slapd-start (#62)
Browse files Browse the repository at this point in the history
The 744 permissions are not right for the tmpfs disk, changing to saner 755
  • Loading branch information
samuraiii authored Jun 28, 2024
1 parent e97a09f commit 86d2a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/systemd/bdii-slapd-start
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi
# Create RAM Disk
if [ "${BDII_RAM_DISK}" = "yes" ]; then
mkdir -p ${SLAPD_DB_DIR}
mount -t tmpfs -o size=${BDII_RAM_SIZE},mode=0744 tmpfs ${SLAPD_DB_DIR}
mount -t tmpfs -o size=${BDII_RAM_SIZE},mode=0755 tmpfs ${SLAPD_DB_DIR}
fi

# Remove delayed_delete.pkl if it exists
Expand Down

0 comments on commit 86d2a60

Please sign in to comment.