Repository: ranger Updated Branches: refs/heads/master 81176a6f7 -> 2a46f3cb9
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/2a46f3cb Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/2a46f3cb Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/2a46f3cb Branch: refs/heads/master Commit: 2a46f3cb9c339bee4a949077a067f14c19631910 Parents: 81176a6 Author: Vishal Suvagia <[email protected]> Authored: Mon Oct 22 14:48:24 2018 +0530 Committer: Mehul Parikh <[email protected]> Committed: Mon Oct 22 18:24:06 2018 +0530 ---------------------------------------------------------------------- unixauthservice/scripts/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ranger/blob/2a46f3cb/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)
