Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2016 13:18:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206809] [patch] Add Octal Number Support for install -f
Message-ID:  <bug-206809-8-rwdjWjQuPt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206809-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206809-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206809

Jilles Tjoelker <jilles@FreeBSD.org> changed:

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

--- Comment #1 from Jilles Tjoelker <jilles@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 fl=
ags
but with install(1), if you specify -f, it overrides all the flags. Therefo=
re,
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 chflag=
s)
will not accept.

Something in me does not like proliferating octal numbers further.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206809-8-rwdjWjQuPt>