SFTP Transfer Family to EFS umask

0

I have an SFTP Transfer Family server in front of an EFS volume. I recently noticed that any new files/directories that are created are given world writeable permissions. Enter image description here Is there a way to change the default permissions for uploaded files?

profile picture
已提問 2 年前檢視次數 391 次
1 個回答
0

SFTP in general does not have a mechanism supported in the protocol for umask. At the server level there are workarounds using a script wrapper to wrap the sftp forked process setting a umask in the wrapper script but that is not an option for the AWS Transfer Family SFTP, the architecture does not allow it.

The best option is to open a customer case to request a feature added to implement EFS umask support within a server managed by AWS Transfer Family.

AWS
Alex
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南