Then you should be clearing the setuid bit first - good example though.
I don't actually care too much which behaviour is used. The important stuff
the change fixed was the dangerously wrong clearing of those bits on a directory
that got chowned. The "if root" stuff is a side issue.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/