bug#45258: mkdir man page unclear in describing -m flag

2020-12-16 Thread Bernhard Voelker
On 12/16/20 2:34 PM, Pádraig Brady wrote: > Insightful comments. I've updated the gotchas note with them: > https://www.pixelbeat.org/docs/coreutils-gotchas.html#mkdir Nice, and also better wording than mine, thanks! Have a nice day, Berny

bug#45258: mkdir man page unclear in describing -m flag

2020-12-16 Thread Pádraig Brady
On 16/12/2020 08:28, Bernhard Voelker wrote: On 12/15/20 9:00 PM, Paul Eggert wrote: Thanks for your bug report. I installed the attached patch; although it doesn't use the exact wording you proposed, I hope it works well enough. Thanks for clarifying. +If the @option{-m} option is also

bug#45258: mkdir man page unclear in describing -m flag

2020-12-16 Thread Bernhard Voelker
On 12/15/20 9:00 PM, Paul Eggert wrote: > Thanks for your bug report. I installed the attached patch; although it > doesn't use the exact wording you proposed, I hope it works well enough. Thanks for clarifying. > +If the @option{-m} option is also given, it does not affect > +file permission

bug#45258: mkdir man page unclear in describing -m flag

2020-12-15 Thread Chris Colohan
Looks great, thank you so much! Chris On Tue, Dec 15, 2020 at 12:00 PM Paul Eggert wrote: > Thanks for your bug report. I installed the attached patch; although it > doesn't use the exact wording you proposed, I hope it works well enough. >

bug#45258: mkdir man page unclear in describing -m flag

2020-12-15 Thread Pádraig Brady
On 15/12/2020 20:00, Paul Eggert wrote: Thanks for your bug report. I installed the attached patch; although it doesn't use the exact wording you proposed, I hope it works well enough. I agree with adding the clarification to the man page, thanks for doing that. I also added an entry to:

bug#45258: mkdir man page unclear in describing -m flag

2020-12-15 Thread Paul Eggert
Thanks for your bug report. I installed the attached patch; although it doesn't use the exact wording you proposed, I hope it works well enough. >From 3ee0e25426a513c5da891ce6a370abed156a3b83 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 15 Dec 2020 11:52:19 -0800 Subject: [PATCH] doc:

bug#45258: mkdir man page unclear in describing -m flag

2020-12-15 Thread Chris Colohan
I like to present a challenge to my software engineer friends: can you tell me what this command does on Linux, if run in an empty directory? mkdir -m 0755 -p ./usr/bin/foo If they read the mkdir man page ( https://man7.org/linux/man-pages/man1/mkdir.1.html), they almost always say the answer