Messages in this thread | | | Subject | Re: [RFC] Bug in mkdir(2) | Date | Wed, 16 Jun 1999 22:11:00 +0100 (BST) | From | Alan Cox <> |
| |
> Following symlinks can be useful at times. It is the root-owned > processes responsibility to check for symlinks in /tmp. This argument > can be used for any file manipulation in a globally writable directory. > Both mkdir("foo") and mkdir("foo/") should follow symlinks for > consistency purposes.
You can demonstrate the link following race for O_EXCL|O_CREAT is insoluble. This is why every modern Unix doesn't link follow on create. It doesn't work.
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/
| |