Skip to content

Commit a9e7096

Browse files
authored
Backport changes from get-tinypilot-pro.sh (#1880)
Resolves #1878 This PR backports the relevant changes to `get-tinypilot-pro.sh` (introduced by tiny-pilot/gatekeeper#301) back into `get-tinypilot.sh`. <a data-ca-tag href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1880"><img src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review on CodeApprove" /></a>
1 parent bb124c8 commit a9e7096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

get-tinypilot.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ readonly INSTALLER_DIR
126126
# that we take advantage of RAMdisk if we're using one.
127127
readonly TMPDIR="${INSTALLER_DIR}/tmp"
128128
export TMPDIR
129-
sudo mkdir "${TMPDIR}"
129+
sudo mkdir --mode=1777 "${TMPDIR}"
130130

131131
#######################################
132132
# Executes a curl command that returns a non-zero exit code based on the HTTP

0 commit comments

Comments
 (0)