You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
It appears the permissions on all files and directories in the release file are 666 (-rw-rw-rw-), which means that:
All users can read and write everything in the pigallery2 directory
You cannot enter the directories because the executable bit is unset
Examples
Here are examples demonstrating the problem with the directory permissions. They were run inside the pigallery2 directory which I setup according to the instructions:
cd ~
wget https://github.com/bpatrik/pigallery2/releases/download/1.7.0/pigallery2.zip
unzip pigallery2.zip -d pigallery2
cd pigallery2
Workaround
This fixed the permissions and allowed me to run npm start successfully:
for i in 1 2 3 4; do
find -maxdepth $i -type d | xargs chmod u x,g x # find cannot read at depth N 1 until depth N has correct permissions
done
chmod -R o-w .
Environment
OS: Ubuntu 18.04.3 LTS, with kernel 4.15.0-56-generic
Used app version:
release 1.7.0
The text was updated successfully, but these errors were encountered:
Description
It appears the permissions on all files and directories in the release file are 666 (
-rw-rw-rw-
), which means that:Examples
Here are examples demonstrating the problem with the directory permissions. They were run inside the pigallery2 directory which I setup according to the instructions:
Workaround
This fixed the permissions and allowed me to run
npm start
successfully:Environment
Used app version:
The text was updated successfully, but these errors were encountered: