Score:0

Ubuntu SFTP hide unauthorized subfolders

ua flag

I currently run Ubuntu 20.04 Desktop server. And I am using the SFTP function by installing OpenSSH on the server.

For testing purposes, I temporarily created a directory called /home/mydirectory/storage, where I created subfolders, each of which had folder-name privileges.

For example I have named A,B,C folders and each A,B,C folders has A,B,C groups privilege. And I expected that if A group person has access to /home/mydirectory/storage folder with SFTP client, it should only show A folder. And also the B, C folder should be hidden and cannot access.

But the current situation shows A,B,C all folders and cannot access to B,C folder. How can I hide the B,C folder?

djdomi avatar
za flag
Does this answer your question? [Is there a way to HIDE a file/dir from a specific user/group?](https://serverfault.com/questions/126300/is-there-a-way-to-hide-a-file-dir-from-a-specific-user-group)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.