Title: getting file permissions using Java

Is there anyway for me to get the permissions for a file using Java? The OS is Solaris.

For instance, say, you have installed the complete Oracle DB on your Solaris 2.8 OS system. We know then, that there is this sqlplus executable file under install_dir/bin directory. Now, I would like to get the file permissions (read, write and execute) for the user, group AND others for that file. How can I get that info. (in total 9 pieces) using Java?

Thanks

To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to