Closed jwilk closed 6 years ago
The script begins with:
mkdir -p /tmp/x1carbon2018s3 cd /tmp/x1carbon2018s3
So it will happily use /tmp/x1carbon2018s3, even when this directory exist and is owned by another (possibly malicious) user. Please use mktemp -d for creating temporary directories.
/tmp/x1carbon2018s3
mktemp -d
Thanks again.
The script begins with:
So it will happily use
/tmp/x1carbon2018s3
, even when this directory exist and is owned by another (possibly malicious) user. Please usemktemp -d
for creating temporary directories.