Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4207359

File should allow us to set permissions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.6
    • core-libs
    • sparc
    • solaris_2.6



      Name: dbT83986 Date: 01/29/99


      File newDir = new File("/tmp/x");
      if ( ! newDir.exists() ) newDir.mkdir();

      I would like to do something like the following:
      if ( ! newDir.exists() ) newDir.mkdir("777");

      or
      newDir.setMode("777"), newDir.setPermissions("777"), etc.
      (Review ID: 36822)
      ======================================================================

            mr Mark Reinhold
            dblairsunw Dave Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: