scottpeter
Programmer
I need to check the permissions on a file or a directory. If I have read/write access I want to process that file/files in the directory.
Case I do not have either of these accesses, give a message that the file does not have required privileges and cannot be processed.
Can somebody please tell me how to do this in shell script.
Thanks,
Scott
Case I do not have either of these accesses, give a message that the file does not have required privileges and cannot be processed.
Can somebody please tell me how to do this in shell script.
Thanks,
Scott