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?

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠