build-init: Don't copy uid/gid when initializing a writable sdk

This is not permitted if the sdk is system installed.
tingping/wmclass
Alexander Larsson 2016-01-22 11:45:01 +01:00
parent b099dc7021
commit c2eea29cde
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ xdg_app_builtin_build_init (int argc, char **argv, GCancellable *cancellable, GE
}
sdk_deploy_files = xdg_app_deploy_get_files (sdk_deploy);
if (!gs_shutil_cp_a (sdk_deploy_files, usr_dir, cancellable, error))
if (!xdg_app_cp_a (sdk_deploy_files, usr_dir, XDG_APP_CP_FLAGS_NO_CHOWN, cancellable, error))
return FALSE;
if (opt_sdk_extensions)