I have a Ubuntu machine with the following folders.
I am using samba server to share the folder.
I have 3users:
user 1 = full access
user 2 = access to folder music (only read)
user 3 = access to folder school (only read)
I want to be prompted to log in when you try to access the folder Shared. If user 1 sings in he gets to view all the folders. If user 2 signs in he only gets to see the folder music. And if user 3 sings in he only can see the folder school.
So the idea is to hide folders for users that are not allowed to see those. How can you configure this using samba server.
EDIT: If they can't read the content of the folders it's also okay, if hiding folders isn't possible or harder to do.
I already wrote a solution for your problem at askubuntu.com
https://askubuntu.com/a/531476/333893
Refer to this page for more information: https://www.samba.org/samba/docs/using_samba/ch09.html
It helped me a lot.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.