[Bug 206809] [patch] Add Octal Number Support for install -f

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 16 13:18:35 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206809

Jilles Tjoelker <jilles at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles at FreeBSD.org

--- Comment #1 from Jilles Tjoelker <jilles at FreeBSD.org> ---
This change is not necessary for this purpose, since install(1) flags work
differently from chflags(1). With chflags(1), you specify changes to the flags
but with install(1), if you specify -f, it overrides all the flags. Therefore,
you can use

  install -f '' /path/to/foo /path/to/bar

If you want to copy flags using stat -f %Sf, you will unfortunately need a
special case for no flags, as stat will write '-' which install (and chflags)
will not accept.

Something in me does not like proliferating octal numbers further.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list