Remove wrong dependency in the systemd service file
[platform/core/connectivity/bluetooth-frwk.git] / bluetooth_log_dump.sh
old mode 100644 (file)
new mode 100755 (executable)
index 40d0403..3ed38c6
@@ -4,14 +4,12 @@
 #    bluetooth
 #--------------------------------------
 
-CHOWN="/bin/chown"
-
 BLUETOOTH_DEBUG=${1}/bluetooth
 PREV_PWD=${PWD}
 BT_DATA_DIR=/var/lib/bluetooth
 
-mkdir -p ${BLUETOOTH_DEBUG}
-${CHOWN} 551:551 ${BLUETOOTH_DEBUG}
+/bin/mkdir -p ${BLUETOOTH_DEBUG}
+/bin/chmod g+w ${BLUETOOTH_DEBUG}
 
 if [ -e ${BT_DATA_DIR} ]
 then