projects
/
platform
/
core
/
security
/
ode.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tizen_4.0 into tizen
[platform/core/security/ode.git]
/
server
/
upgrade-support.cpp
diff --git
a/server/upgrade-support.cpp
b/server/upgrade-support.cpp
index
8fb3538
..
1cb33d4
100644
(file)
--- a/
server/upgrade-support.cpp
+++ b/
server/upgrade-support.cpp
@@
-186,7
+186,7
@@
void writeToken(runtime::File &file, const BinaryData& token)
{
size_t tokenSize(token.size());
- file.create(
0640
);
+ file.create(
S_IRUSR | S_IWUSR | S_IRGRP
);
file.write(&tokenSize, sizeof(tokenSize));
file.write(token.data(), token.size());