Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      UNIX-style sticky bit implemented for HDFS directories. When the sticky bit is set on a directory, files in that directory may be deleted or renamed only by a superuser or the file's owner.

      Description

      Our users (especially Pig) heavily use /tmp for temporary storage.
      Permission are set to 777.

      However, this means any users can rename and also remove (by moving to .Trash) other users directories and files.
      It would be nice if we can have a sticky bit like unix.

      Copy&Pasted from manpage.

      STICKY DIRECTORIES
      When the sticky bit is set on a directory, files in that directory may be unlinked or renamed only by
      root or their owner. Without the sticky bit, anyone able to write to the directory can delete or rename
      files. The sticky bit is commonly found on directories, such as /tmp, that are world-writable.

        Attachments

        1. HADOOP-3953.patch
          55 kB
          Jakob Homan
        2. HADOOP-3953.patch
          62 kB
          Jakob Homan
        3. HADOOP-3953.patch
          42 kB
          Jakob Homan
        4. HADOOP-3953.patch
          39 kB
          Jakob Homan

          Issue Links

            Activity

              People

              • Assignee:
                jghoman Jakob Homan
                Reporter:
                knoguchi Koji Noguchi
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: