Hi all,
Is there any C function in linux that help me to check whether a given user has a given permission on a file..
I tried access function , but it can only be used to check current users permission...
Code:
int access(const char *pathname, int mode)
Is there any function in which i can give a perticular user name or uid as one of the argument so than I can check for any users permission...