Re: changing dir/chmod
Please post a log file. If you are using SCP, try to specify /bin/bash shell on SCP tab of login dialog. Or try SFTP instead.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.