I have 3000+ local users on my Linux system. I want to set permissions dynamically for folder or files. I came across ACLs (Access Control Lists) when I researched this topic. All users home location must be hidden from other user. But what if I want to give permissions for certain files or folders in subfolders of the user home page then what should I do?
Actually, what I want to tell is this:
When I blocking /user2 directory for /user1 then I can't access user2's subdirectory from user1. How can I solve this?
I looked here although it is not completely similar to my problem. I don't want users to see each other's directories.
Where is my life saver?