Question

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

Posted April 15, 2018 730 views
Security Ubuntu 16.04

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