When creating a file in a folder that you do not have permissions in. It will create <filename>.tmp in the folder. Then fail on chown to the correct user. However, there is no user error message saying permission denied, it is only found in the hue logs. Also, the <filename>.tmp is left behind. I have tested this and I can reproduce it.