Fix: Script can be ran from non root user, even from a directory with no
write permissions.