Hi RamaKrishna, 

Since this is OS specific, I would suggest you use
JNI for that matter (ie, write some C code and
interface it to Java)

Just my 2 cents.  Maybe others have better suggestion.

Jenny
--- Ramakrishna Kuppa <[EMAIL PROTECTED]>
wrote:
> 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
> 


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

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

Reply via email to