id summary reporter owner description type status priority milestone component version resolution keywords cc launchpad_bug 1050 open with SSH_FXF_TRUNC without SSH_FXF_CREAT violates SFTP spec, but everyone does it anyway bj0 bj0 "It apparrently is against the SFTP spec (but not the POSIX) to open a file with SSH_FXF_TRUNC without including SSH_FXF_CREAT. Programs like OpenSSH server and sshfs ignore this little detail, though, and programs like ""cp"" fail if it is followed. workaround: SFTP frontend should accept FXF_WRITE | FXF_TRUNC." defect closed major 1.7.0 code-frontend-ftp-sftp 1.6.1 fixed sftp standards sshfs