Folks, gurus and pundits,
I have set up a chrooted sftp environment that works fine. In the login.conf file, I set the umask for the sftp users class (there is only one) at (0)007, so I expect transferred files to be stored with permissions 770.
However, I do not get always 770 permissions. What I get seems to be a logical and between the source (local permissions) and the (remote) umask set in login.conf. Is that correct? Any clue on how to bypass this (strange?) behavior?
Thanks a lot,
Vincent
I have set up a chrooted sftp environment that works fine. In the login.conf file, I set the umask for the sftp users class (there is only one) at (0)007, so I expect transferred files to be stored with permissions 770.
However, I do not get always 770 permissions. What I get seems to be a logical and between the source (local permissions) and the (remote) umask set in login.conf. Is that correct? Any clue on how to bypass this (strange?) behavior?
Thanks a lot,
Vincent