projects
/
platform
/
core
/
security
/
libprivilege-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa18188
)
Bug fix in adding permissions.
author
Jan Olszak
<j.olszak@samsung.com>
Thu, 17 Jan 2013 14:10:26 +0000
(15:10 +0100)
committer
Gerrit Code Review
<gerrit2@kim11>
Fri, 25 Jan 2013 10:38:33 +0000
(19:38 +0900)
[Issue] Bad function arguments.
[Bug] N/A
[Cause] N/A
[Solution] N/A
[Verification] Build.
Change-Id: I2dc34ba858340316da5abd000431f9ac0d001d9c
src/privilege-control.c
patch
|
blob
|
history
diff --git
a/src/privilege-control.c
b/src/privilege-control.c
index
91c436e
..
410b6c2
100644
(file)
--- a/
src/privilege-control.c
+++ b/
src/privilege-control.c
@@
-739,7
+739,7
@@
API int app_add_permissions(const char* app_id, const char** perm_list)
goto out;
}
- fd = open(path, O_CREAT
, O_RDWR
);
+ fd = open(path, O_CREAT
|O_RDWR, 0644
);
if (fd == -1) {
ret = PC_ERR_FILE_OPERATION;
goto out;