Fix cert db ownership 46/55446/1 accepted/tizen/mobile/20151224.063132 accepted/tizen/tv/20151224.063206 accepted/tizen/wearable/20151224.063233 submit/tizen/20151224.013153
authorSangyoon Jang <s89.jang@samsung.com>
Thu, 24 Dec 2015 00:10:36 +0000 (09:10 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Thu, 24 Dec 2015 00:10:36 +0000 (09:10 +0900)
Change-Id: Iabc16b758461b641f901a77d6049cc57cfbded53
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
parser/pkgmgr_parser_db.c

index d7731e7..020f81e 100644 (file)
@@ -1643,7 +1643,7 @@ API int pkgmgr_parser_initialize_db(uid_t uid)
                return ret;
        }
 
-       if( 0 != __parserdb_change_perm(getUserPkgCertDBPathUID(GLOBAL_USER), uid)) {
+       if( 0 != __parserdb_change_perm(getUserPkgCertDBPathUID(GLOBAL_USER), GLOBAL_USER)) {
                _LOGD("Failed to change cert db permission\n");
        }
        if( 0 != __parserdb_change_perm(getUserPkgParserDBPathUID(uid), uid)) {