Re: sys_utime bug in 131?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 15 Dec 1998 19:17:42 +0000 (GMT)


> The above shows that calling utime() on a symbolic link results in the
> times being set for the actual file, not the link.

This seems correct. The areas where something affects the link itself
in the Single Unix Standard say so. Nothing is said about utime() not
following links

In addition it states (of lstat)

For symbolic links, the st_mode member will contain meaningful
information when used with the file type macros, and the st_size
member will contain the length of the pathname contained in the
symbolic link. File mode bits and the contents of the remaining
members of the stat structure are unspecified.

which strongly implies the other fields arent regarded as mattering

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