The scenario is this - I have a command line program that might not run as root, part of the requirements is to warn if another user has write permissions to some folder / filee.g. I'm running as non root user A I would like to get the answer to the question: does user B has write permissions to folder FSo my questions are Is it even possible to do as a root user? if so how? Is there any way to do it as a non root user?
Is there a way in Linux to have one non root user check if another non root user has permissions to a folder / file?
permissions;files