Sftp permission and group problem
I have a problem about ssh in linux
The situation is that I 've set default permission: 770 in all files and
dirs, "chmod +s danny" and "chown :friend danny" in my folder.
Normally, I make a directory or a file under danny folder and the group is
"friend" and with +s, permission: 770.
But the permission is 755, without +s when I use SFTP to tranfer file to my
account.
Could they know how to solve this problem through setting sftp config or
other configuration??
Thx
|