Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2514

Trash and permissions don't mix

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.16.0
    • Fix Version/s: 0.16.0
    • Component/s: None
    • Labels:
      None

      Description

      Shell command "rm" is really "mv" to trash with the expectation that the server will at some point really delete the contents of trash. With the advent of permissions, a user can "mv" folders that the user cannot "rm". The present trash feature as implemented would allow the user to suborn the server into deleting a folder in violation of the permissions model.

      A related issue is that if anybody can mv a folder to the trash anybody else can mv that same folder from the trash. This may be contrary to the expectations of the user.

      What is a better model for trash?

        Attachments

        1. HADOOP-2514.patch
          11 kB
          Doug Cutting

          Issue Links

            Activity

              People

              • Assignee:
                cutting Doug Cutting
                Reporter:
                chansler Robert Chansler
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: