- ret = lsetxattr(file_full_path, "security.SMACK64", "system::homedir", 15, 0);
- if (ret < 0)
- {
- DEBUG_LOG("chsmack is failed %s", file_full_path);
- chmod (file_full_path, 0777);
+ sprintf(file_full_path, "%s/%s", elm_profile_path, e->d_name);
+
+ ret = chown(file_full_path, APP_OWNER_ID, APP_GROUP_ID);
+ if (ret < 0)
+ {
+ DEBUG_LOG("chown is failed %s", file_full_path);
+ chmod (file_full_path, 0777);
+ }