Repository: ranger
Updated Branches:
  refs/heads/ranger-1 48cfb403c -> 33c80b816


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/33c80b81
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/33c80b81
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/33c80b81

Branch: refs/heads/ranger-1
Commit: 33c80b8169e71f165e599b3ed94175d9119870f3
Parents: 48cfb40
Author: Vishal Suvagia <[email protected]>
Authored: Mon Oct 22 14:48:24 2018 +0530
Committer: Mehul Parikh <[email protected]>
Committed: Mon Oct 22 18:25:24 2018 +0530

----------------------------------------------------------------------
 unixauthservice/scripts/setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/33c80b81/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)

Reply via email to