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

April 15, 2018 381 views
Security Ubuntu 16.04

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

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

1 Answer

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

Have another answer? Share your knowledge.