[PATCH] Ignore touch -f flag

Tobias Poschwatta tp at fonz.de
Wed Nov 28 06:55:23 PST 2007


On Wed, Nov 28, 2007 at 03:37:12PM +0100, Bernhard Fischer wrote:
> touch -f is not part of SUSv3, so should depend on some TOUCH_GNU_COMPAT
> toggle, imho.

-f has a meaning on BSD: 
  Attempt to force the update, even if the file permissions do not
  currently permit it.
  (http://leaf.dragonflybsd.org/cgi/web-man?command=touch&section=ANY)

GNU coreutils ignore -f, too. Wouldn't this make it TOUCH_BSD_COMPAT?

T.





More information about the busybox mailing list