Is it possible to remove access of /tmp directory for a particular user, i.e user should not be able to even read /tmp directory ?
I know tmp directory has 1777 permission and let every user to create files , but restrict modification to user's own files. I am unable to find any way to do so.
One set of users should be able to do whatever they want but other set of user should not be able to check what other set of users are creating.
One solution is to create a directory and set permission to allow only set of users, but then all users need to edit there script/program to use this particular directory instead.
Is there any way like privatetmp via systemd, but for users instead of service ? I mean setup a tmp directory for the user without user knowing about it, is it possible ?