@3
How do you distinguish scripts that can be run manually and which shouldn't? Is there *any* documentation, that you should use
start mounted-tmp MOUNTPOINT=/tmp
for testing?
The problem is, that you don't know this script is dangerous before you executed it.
And yes, it is a bug since the script does not check whether MOUNTPOINT is set or not. This is what I would define as buggy and unsafe behavior.
@3
How do you distinguish scripts that can be run manually and which shouldn't? Is there *any* documentation, that you should use
start mounted-tmp MOUNTPOINT=/tmp
for testing?
The problem is, that you don't know this script is dangerous before you executed it.
And yes, it is a bug since the script does not check whether MOUNTPOINT is set or not. This is what I would define as buggy and unsafe behavior.