Is it possible to know the user label permission for a particular file at server side?
I need to execute a script at the rmid server. And I want the server to be strict enough to check the user label permission for client before executing that script. One possiblity is that server can do some thing like 'ls -l' to get the file permission and split it to collect the group id. Then check whether the client is a member of that group. This is not a cleaner way and is also OS specific. Can anyone please suggest me any other approach for this problem?