make some folder FOLDER that belongs to USER:GROUP, assign 777 permissions to FOLDER, then
sudo -s
cd FOLDER
wget https://github.com/google/log4jscanner/releases/download/v0.2.0/log4jscanner-v0.2.0-linux-amd64.tar.gz
tar xfz log4jscanner-v0.2.0-linux-amd64.tar.gz
check new ownership and permissions of FOLDER, it's drwx------ 3 root root, because
I think that ./ shouldn't be a part of release assets archive, because as a result you might set incorrect permissions on your folder (think of /tmp without full access)
How-to-repeat
make some folder FOLDER that belongs to USER:GROUP, assign 777 permissions to FOLDER, then
check new ownership and permissions of FOLDER, it's
drwx------ 3 root root
, becauseI think that ./ shouldn't be a part of release assets archive, because as a result you might set incorrect permissions on your folder (think of /tmp without full access)
Thanks