Issue #7106 has been updated by kwilczynski (Krzysztof Wilczynski).


When talking about accepting it ... two things to consider as patch has two parts, really:

Part 1 - Adding support for lutimes on *nix/POSIX operating systems[*];
Part 2 - Changing FileUtils accordingly to accommodate for File getting new methods;

As Luis proven in the past, adding Windows (_WIN32 et al) support might be non-trivial. That having said, I can amend the patch to return NonImplementedError on Windows - not sure how much trouble it is to add support for Windows family (citation needed).

So, even if we consider FileUtils being frozen due to lack of maintainer and Windows implementation for entire Windows family being complex (at this point at least), then perhaps we could separate concerns here and include lutimes patch for *nix/POSIX and return NotImplementedError for Windows for the time being, and then get FileUtils and proper Windows support in check.

What do you guys think?
----------------------------------------
Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
https://bugs.ruby-lang.org/issues/7106#change-40810

Author: cirrusthinking (Alessandro Diaferia)
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: next minor


Most systems support POSIX lutimes sys call that allows a symlink to be touched. I'd like to see this feature implemented.
Unfortunately I'd like to see this feature on Solaris as soon as possible but I cannot see lutimes syscall supported there.


-- 
http://bugs.ruby-lang.org/