Repository: ranger Updated Branches: refs/heads/ranger-1.2 60b192311 -> 7a32d6935
RANGER-2259 : Need to provide appropriate permisssions for unix-auth files. Signed-off-by: Mehul Parikh <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/7a32d693 Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/7a32d693 Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/7a32d693 Branch: refs/heads/ranger-1.2 Commit: 7a32d69359f05ec61135615b55941c1e83ef1778 Parents: 60b1923 Author: Vishal Suvagia <[email protected]> Authored: Mon Oct 22 14:48:24 2018 +0530 Committer: Mehul Parikh <[email protected]> Committed: Mon Oct 22 18:26:52 2018 +0530 ---------------------------------------------------------------------- unixauthservice/scripts/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ranger/blob/7a32d693/unixauthservice/scripts/setup.py ---------------------------------------------------------------------- diff --git a/unixauthservice/scripts/setup.py b/unixauthservice/scripts/setup.py index e0c8c83..54297f4 100755 --- a/unixauthservice/scripts/setup.py +++ b/unixauthservice/scripts/setup.py @@ -551,14 +551,14 @@ def main(): if isfile(nativeAuthProgramName): os.chown(nativeAuthProgramName, rootOwnerId, groupId) - os.chmod(nativeAuthProgramName, 04555) + os.chmod(nativeAuthProgramName, 0750) else: print "WARNING: Unix Authentication Program (%s) is not available for setting chmod(4550), chown(%s:%s) " % ( nativeAuthProgramName, "root", groupName) if isfile(pamAuthProgramName): os.chown(pamAuthProgramName, rootOwnerId, groupId) - os.chmod(pamAuthProgramName, 04555) + os.chmod(pamAuthProgramName, 0750) else: print "WARNING: Unix Authentication Program (%s) is not available for setting chmod(4550), chown(%s:%s) " % ( pamAuthProgramName, "root", groupName)
