Win32-OpenSSH icon indicating copy to clipboard operation
Win32-OpenSSH copied to clipboard

file permission

Open mounir81 opened this issue 3 years ago • 1 comments
trafficstars

Hello,

I have a permission problem when uploading files to a unix machine, all the files that are upload have 600 rights, is there a way to correct these rights in 755

Best regards

mounir81 avatar Dec 30 '21 10:12 mounir81

To be able to help you, you need to explain in detail how we could exactly reproduce what you are doing.

For example:

What exact command are you using for the upload? (E.g. are you using scp option -p?)

What is the exact server operating system? (From that we might be able to infer the umask of the sshd process.)

Are you setting umask 0077 in your shell startup file (e.g., ~/.profile)? What does the umask command output on your "Unix machine" in a shell session?

This this problem specific to using OpenSSH for Windows (which version exactly), or does it also happen from other SSH implementations?

mgkuhn avatar Dec 31 '21 15:12 mgkuhn