Re: Why is chmod(2)?

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Thu, 23 Sep 1999 18:30:27 +0200


Harald Koenig wrote:
> but you still have to mark that file being `opened' (in use),
> or how do you avoid race conditions between open() and chmod() ?

Of course, the in code inode reference count is incremented.
That's all.

-- Jamie

-
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/