Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

mkdirs() creates read-only directories

843785Sep 29 2008 — edited Oct 1 2008
new File("C:\\XATemp\\"+file.getName()+"\\");
This code successfully creates the required directories, but they end up being marked Read-Only. I am on Windows Vista (32 bit), but I hope that isn't the problem. Does anyone have any idea why this is happening? (I have tried creating the directories in locations other than the root C:\ directory, but no luck)

Edited by: Fiarr on Sep 29, 2008 5:16 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2008
Added on Sep 29 2008
5 comments
395 views