Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6434

Default permission for creating file should be 644 for WebHdfs/HttpFS

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: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • webhdfs
    • None
    • Incompatible change
    • Hide
      The default permissions of files and directories created via WebHDFS and HttpFS are now 644 and 755 respectively. See HDFS-10488 for related discussion.
      Show
      The default permissions of files and directories created via WebHDFS and HttpFS are now 644 and 755 respectively. See HDFS-10488 for related discussion.

    Description

      Creating a file by using WebHdfs without specify permission. file is created with permission 755. it should be 644.
      WebHdfs seems using the same default permission for both file and directory.

      Attachments

        1. HDFS-6434.002.patch
          10 kB
          Wellington Chevreuil
        2. HDFS-6434.patch
          5 kB
          Wellington Chevreuil

        Activity

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

          People

            wchevreuil Wellington Chevreuil Assign to me
            jyu@cloudera.com Juan Yu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment