doing chown and chmod in java

Is there a standard java api to do chown and chmod?
I really don't want to have to have to Runtime.getRuntime().exec("chown blah /blah");
LVL 1
aturetskyAsked:
Who is Participating?
 
andre6bConnect With a Mentor Commented:
Not that I know of.  I think the reason is that Unix-style permissions are not portable.  FAT32 only have a couple of attributes, and NTFS has ACLs.  But you can use JNI if you really need the functionality.
0
 
HonorGodConnect With a Mentor Commented:
no, there isn't.
0
 
aturetskyAuthor Commented:
sorry, I posted it in a wrong forum, I meant to post it in Java Programming.
0
All Courses

From novice to tech pro — start learning today.