How to make sftp user not have access to hidden files?

img: https://imgur.com/a/59ztt

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hidden files don’t have special permissions, use chmod/chown just like any regular file or dir.

Submit an Answer