Hi, We use stat all over the places for checking the presence of the file or directory.
I propose we use access(path, R_OK [| W_OK]) instead, since the check is done with the real user id. Comments? Regards -- ^TM
Hi, We use stat all over the places for checking the presence of the file or directory.
I propose we use access(path, R_OK [| W_OK]) instead, since the check is done with the real user id. Comments? Regards -- ^TM