From: Felix von Leitner <[EMAIL PROTECTED]>

    If user !root says chown("/usr",-1,-1), he gets EPERM.  Why?

Because the standard says:

  The chown( ) function shall fail if:

  [EPERM]  The effective user ID does not match the owner of the file, or ..

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
  • chown bug Felix von Leitner
    • Andries . Brouwer

Reply via email to