Sanket-Shelar commented on code in PR #1103:
URL: https://github.com/apache/ranger/pull/1103#discussion_r3796218001


##########
unixauthservice/scripts/ranger-usersync-services.sh:
##########
@@ -92,7 +93,17 @@ if [ "${action}" == "START" ]; then
                export PATH=$JAVA_HOME/bin:$PATH
        fi
 
-       
cp="${cdir}/dist/*:${cdir}/lib/*:${cdir}/conf:${RANGER_USERSYNC_HADOOP_CONF_DIR}/*"
+       if [ -z "${RANGER_USERSYNC_LOG_DIR}" ]; then
+        RANGER_USERSYNC_LOG_DIR=/var/log/ranger/usersync
+    fi
+
+    if [ ! -d RANGER_USERSYNC_LOG_DIR ]; then
+      mkdir -p $RANGER_USERSYNC_LOG_DIR
+      chmod 777 $RANGER_USERSYNC_LOG_DIR

Review Comment:
   Checked other scripts in the project and added permission 755 



##########
unixauthservice/src/main/webapp/WEB-INF/security/spring-security.xml:
##########
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>

Review Comment:
   yes



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to