Change log directory's owner 42/118242/1
authorSeungyoun Ju <sy39.ju@samsung.com>
Fri, 28 Oct 2016 11:13:40 +0000 (20:13 +0900)
committerSeungyoun Ju <sy39.ju@samsung.com>
Thu, 9 Mar 2017 09:15:29 +0000 (18:15 +0900)
[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] BT hcidump is not gathered
[Cause & Measure] Directory owner is set as root. So bt-hci-logdump.sh
 cannot acesss it
[Checking Method] *#9900#

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I1bd1e35ba2b07d729f4620d39e1734bd30ff1ece

bluetooth_log_dump.sh [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 073e407..2254e9f
@@ -4,11 +4,14 @@
 #    bluetooth
 #--------------------------------------
 
+CHOWN="/bin/chown"
+
 BLUETOOTH_DEBUG=${1}/bluetooth
 PREV_PWD=${PWD}
 BT_DATA_DIR=/var/lib/bluetooth
 
 mkdir -p ${BLUETOOTH_DEBUG}
+${CHOWN} 200:200 ${BLUETOOTH_DEBUG}
 
 if [ -e ${BT_DATA_DIR} ]
 then