Skip to content

Minor issue with Umask settings for Hadoop CLI #5

@jordangarrison

Description

@jordangarrison

It appears that if the umask on the server is not set to 022 the hadoopcli binary will not be visible over the link created by the setup.sh script. Would it be possible to set a permission level on the /usr/local/hadoop-cli directory after creation to 755 as well as subsequent lower directories. Then the library jar could be set to 644?

This could be accomplished with a preservation of the old umask prior to run:

OLD_UMASK=$(umask)
umask 0022
...setup steps...
umask ${OLD_UMASK}

Perhaps there is a better way to do this, but this was an idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions