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

Unable to access a file by a different user in the same group when permissions is set to 770 or when permissions is turned OFF

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • None
    • None

    Description

      Consider the following two scenarios
      1) With permissions ON, start cluster as user A, create a file as user A, chmod 770 file as user A, access file as user B(using 'get' command)
      The expected behavior would be that user B should be able to access the file since user A and user B are in the same group. But this is not happening. Instead the following error message is displayed "get: Permission denied"

      2) With permissions ON, start cluster as user A, create a file as user A, chmod 700 file as user A, shut down dfs and turn permissions OFF and start up dfs, access file as user B(using 'get')
      The expected behavior would be that user B should be able to access the file since permissions is turned OFF. But this is not happening. Instead the following error message is displayed "get: Permission denied"

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hairong Hairong Kuang Assign to me
            rramya Ramya Sunil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment