title: What is the GID/UID of the system on Android?
body: <p>How do I identify the number (integer value) of a particular group associated with a file?</p>
  
  <pre><code>ls -l
  drwxr-x--x root     system              2014-11-26 10:59 xyz
  </code></pre>
  
  <p>I have managed to check that <code>group id of root is 0</code>. What is the corresponding <strong>number of group id</strong> for <strong>system</strong>?</p>
  
  <p>I need to change the group of my file to system. How do I do it using <a href="https://en.wikipedia.org/wiki/Chown" rel="nofollow">chown</a>? gid_t is internally of int type. So what value should I pass to make it system? How do I know?</p>