I have been editing files on a remote server with sftp via tramp. When I save the files it changes the original file permissions (644) to 600. I have been using tramp for a while and not run into this problem before except for with this particular hosting company. However, editing files with the atom text editor using a remote ftp plugin doesn't have this problem. That's why I suspect it must be something with the way tramp saves files. Does anyone have an idea of how to fix this?
I tried suggestions given in this thread, but they didn't work: Tramp keep losing remote file permissions