Upstream version 7.36.152.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / tools / tizen / xwalk_package_helper.cc
index 968b17f..b2037fc 100644 (file)
@@ -33,14 +33,6 @@ int main(int argc, char *argv[]) {
   if (argc <= 2)
     return usage(argv[0]);
 
-  // When installing an application on Tizen, the libraries used require
-  // some steps to be run as root (UID 0) and fail otherwise, so we force
-  // this tool to assume the root UID.
-  if (setuid(0)) {
-    fprintf(stderr, "Make sure '%s' is set-user-ID-root\n", argv[0]);
-    return 1;;
-  }
-
   PackageInstallerHelper helper(argv[2]);
   if (!strcmp(argv[1], "--install")) {
     if (argc != 5)