Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!lll-crg!dual!ucbvax!kre From: kre@ucbvax.ARPA (Robert Elz) Newsgroups: net.bugs.4bsd Subject: Re: using utimes(2) to change the time Message-ID: <9789@ucbvax.ARPA> Date: Fri, 9-Aug-85 02:56:51 EDT Article-I.D.: ucbvax.9789 Posted: Fri Aug 9 02:56:51 1985 Date-Received: Mon, 12-Aug-85 05:32:17 EDT References: <4809@mit-eddie.UUCP> <8200033@uiucdcs> <1139@umcp-cs.UUCP> Organization: University of California at Berkeley Lines: 13 Summary: Ownership of a symbolic link is used, other attributes aren't In article <1139@umcp-cs.UUCP>, chris@umcp-cs.UUCP (Chris Torek) writes: > Once again: the owner, mode, and times of a symbolic link are never > used by anything in the kernel, so changing them is pointless anyway. Almost. The owner is used to account for the space (1 block) used by the symbolic link in disc quota calculations. You can chown() symbolic links to alter who is charged this way. Apart from that, symbolic links are intended (as much as is possible) to emulate real links, chmod(), utimes() etc all alter the file linked to, just as if it was a hard link. Robert Elz ucbvax!kre kre@monet.berkeley.edu