I have a server running Ubuntu 8.04 LTS with sftp running on it. My problem is that when I access the server with sftp (using the username of one of my admin accounts, not 'root') and upload a file it's saved with the permissions rwx------
. I then have to manually change the permissions using sudo chmod 755 filename
.
Is there any way to set the default save permissions?