Topic "executable permission for all uploaded files"

Author Message
[View user's profile]

Joined: 2010-10-02
Posts: 1
Location: CZ
Hi all,
I have umask set to 002 in /etc/pam.d/common-session (session optional umask=002), when I connect using scp and check the umask in winscp terminal I get 002, but all uploaded files have executable (x) permission added for both user and group. Is it default behaviour to add the x permission to all files uploaded from windows using scp?
I'm aware that I can change the permission assigned to uploaded files/directories in winscp settings, but I'm just curious why it doesn't follow the umask settings?
Thanks for response
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
It depends on your server. I would say that most ignore the umask. I do not know why x is being set.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License