Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
chown, unless you are allowed to
Ctrl+T) and do
sudo chown. But if it prompts you for a password it will hang.
d:\Software\cygwin\bin\mintty.exe /bin/bash -l -c "ssh -tp !# !U@!@ sudo chown -R !?OWNER:GROUP?myuser:mygroup! '!&'"
sshalso gives you a tty you can enter a password for