projects
/
platform
/
core
/
connectivity
/
ua-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a66cfd4
)
Fix the security configuration issue (Shell Script)
93/254193/2
accepted/tizen/unified/20210226.131923
submit/tizen/20210225.094448
author
DoHyun Pyun
<dh79.pyun@samsung.com>
Wed, 24 Feb 2021 23:20:16 +0000
(08:20 +0900)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Wed, 24 Feb 2021 23:22:05 +0000
(08:22 +0900)
All command line tools in any shell script should be executed
in designated location or executed as absolute path.
Change-Id: I8f9548f7fda0db656ede895be2fd7c92e2c9161f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
ua-daemon/data/create-ua-db.sh
patch
|
blob
|
history
diff --git
a/ua-daemon/data/create-ua-db.sh
b/ua-daemon/data/create-ua-db.sh
index
912793b
..
9bb6e42
100755
(executable)
--- a/
ua-daemon/data/create-ua-db.sh
+++ b/
ua-daemon/data/create-ua-db.sh
@@
-1,4
+1,5
@@
#!/bin/bash
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
sqlite3 /opt/usr/dbspace/.ua-manager-data.db < /usr/share/ua_db.sql
chown network_fw:network_fw /opt/usr/dbspace/.ua-manager-data.db*