coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] chown: prevent multiple --from options


From: Kaz Kylheku (Coreutils)
Subject: Re: [PATCH] chown: prevent multiple --from options
Date: Sun, 29 Sep 2019 08:43:25 -0700
User-agent: Roundcube Webmail/0.9.2

On 2019-09-29 02:46, Francois wrote:
We can fix by rejecting the cases where --from option is provided multiple
times and uid or gid are set twice.

An more sophisticated fix is to allow the --from to be given multiple times, but have the resulting range be the intersection of all of the ranges given.

Each successive --from applies clipping to the range calculated so far.

If a uid or gid are given twice, but match, that should be fine too; why not.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]