Skip to content

Commit

Permalink
create .internal directory with 0777 instead of 0700 (to allow aler…
Browse files Browse the repository at this point in the history
…tlist to be read by `lighttpd`)
  • Loading branch information
kx1t committed Mar 15, 2024
1 parent be9e48e commit 1d37e1a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rootfs/usr/share/planefence/prep-planefence.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ function configure_both() {
# However, if there is a planefence.config file in the ..../persist directory
# (by default exposed to ~/.planefence) then export all of those variables as well
# note that the grep strips off any spaces at the beginning of a line, and any commented line
mkdir -p -m 0700 /usr/share/planefence/persist/.internal
mkdir -p -m 0777 /usr/share/planefence/persist/.internal
mkdir -p /usr/share/planefence/persist/planepix
chmod -fR a+rw /usr/share/planefence/persist /usr/share/planefence/persist/{.[!.]*,*}
chmod -f a=rwx /usr/share/planefence/persist
chmod -fR a+rw /usr/share/planefence/persist/{.[!.]*,*}

chmod a=rwx /usr/share/planefence/persist/planepix
if [[ -f /usr/share/planefence/persist/planefence.config ]]
then
Expand Down

0 comments on commit 1d37e1a

Please sign in to comment.