Danek Duvall wrote:
Tom Mueller (plain-text) wrote:

Webrev: http://cr.opensolaris.org/~tmueller/ips-10629/

What about simply setting the timestamp before setting the mode?
Consider the case where the only change to an action is the owner. The content, timestamp, etc. all stay the same. In this case the file is not overwritten, and the mode is already set to read-only when the install method starts, so even if the timestamp is set before the mode, it will not work.

Or, consider that the file content is not changed, but the timestamp is (I would expect that this wouldn't happen, but it is possible to publish that type of package version). Again, the file is not overwritten, the mode is already set to read-only, but the timestamp needs to change.

So even if the timestamp is set before the mode, we still have the case where the file needs to be made writable for the change and then changed back.

Tom
Danek

<<attachment: Tom_Mueller.vcf>>

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to