Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [patch] mount_mfs allow setting permissions manually
To:
Rafael Sadowski <rafael@sizeofvoid.org>, tech@openbsd.org
Date:
Sun, 20 Jul 2025 12:59:09 +0100

Download raw body.

Thread
On 2025/07/20 04:52, Crystal Kolipe wrote:
> Do we also need to clarify in the man page what happens if both -p and -P are
> used at the same time?  In that case, -p is ignored and the permissions from
> the directory specified with -P are used.
> 
> I'm wondering if that is even the desired behaviour, maybe -p should always
> override even when -P is specified.  But if nobody has an opinion on this
> I'm OK with the current proposal.

fwiw, I think I would expect -p to be used "over the top" of -P's
permissions if both flags are specified.