Skip to content

Commit

Permalink
On latest pi os, home directory is not readable, so make itreadable.
Browse files Browse the repository at this point in the history
Also add "sudo" in setting-up.txt notes for installing packages
  • Loading branch information
Matthias-Wandel committed May 29, 2024
1 parent 6733e90 commit 0efddd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/setting_up.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ either by git cloning it or by unzipping the archive.

Start setting things up:
cd ~/imgcomp/setup
./install-packages
sudo ./install-packages

Optionally install additional packages (useful but not necessary)
./install-packages-extra
sudo ./install-packages-extra

Build imgcomp and set it up
cd ~/imgcomp/setup
Expand Down
4 changes: 4 additions & 0 deletions setup/setup-imgcomp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ mkdir -p ~/www
mkdir -p ~/images
ln -sTf ../images ~/www/pix

echo "Make home directory readable by web server"
# Make home directory publicly readable (so www-data process can access it)
chmod +rx ~

# Make sure an imgcomp.conf configuration file exists
if [ -e ../../imgcomp.conf ] ; then
echo " imcomp.conf file aready in home directory"
Expand Down

0 comments on commit 0efddd2

Please sign in to comment.