[coreutils] add note about mkdir mode behaviour into info documentation (#610559)

Ondrej Vasik ovasik at fedoraproject.org
Tue Mar 22 08:55:02 UTC 2011


commit fdeedf2670e4f68813268bebb457e4f1450e0a9b
Author: Ondřej Vašík <ovasik at redhat.com>
Date:   Tue Mar 22 09:54:46 2011 +0100

    add note about mkdir mode behaviour into info documentation (#610559)

 coreutils-8.4-mkdir-modenote.patch |   12 ++++++++++++
 coreutils.spec                     |    9 ++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/coreutils-8.4-mkdir-modenote.patch b/coreutils-8.4-mkdir-modenote.patch
new file mode 100644
index 0000000..3576ec6
--- /dev/null
+++ b/coreutils-8.4-mkdir-modenote.patch
@@ -0,0 +1,12 @@
+diff -urNp coreutils-8.4-orig/doc/coreutils.texi coreutils-8.4/doc/coreutils.texi
+--- coreutils-8.4-orig/doc/coreutils.texi	2011-01-07 15:01:18.575654333 +0100
++++ coreutils-8.4/doc/coreutils.texi	2011-01-07 15:05:38.791655243 +0100
+@@ -9058,6 +9058,8 @@ incorrect.  @xref{Directory Setuid and S
+ set-user-ID and set-group-ID bits of directories are inherited unless
+ overridden in this way.
+ 
++Note: The @option{--mode}, at option{-m} option only applies to the right-most directories listed on the command line.  When combined with @option{--parents}, @option{-p} option, any parent directories are created with @samp{u+wx} modified by umask.
++
+ @item -p
+ @itemx --parents
+ @opindex -p
diff --git a/coreutils.spec b/coreutils.spec
index f76bba3..0779a23 100644
--- a/coreutils.spec
+++ b/coreutils.spec
@@ -1,7 +1,7 @@
 Summary: A set of basic GNU tools commonly used in shell scripts
 Name:    coreutils
 Version: 8.10
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: GPLv3+
 Group:   System Environment/Base
 Url:     http://www.gnu.org/software/coreutils/
@@ -32,6 +32,8 @@ Patch103: coreutils-8.2-uname-processortype.patch
 Patch104: coreutils-df-direct.patch
 #add jar-like archives to colored ones
 Patch106: coreutils-8.5-dircolors.patch
+#add note about mkdir --mode behaviour into info documentation(#610559)
+Patch107: coreutils-8.4-mkdir-modenote.patch
 
 # sh-utils
 #add info about TZ envvar to date manpage
@@ -121,6 +123,7 @@ Libraries for coreutils package.
 %patch103 -p1 -b .sysinfo
 %patch104 -p1 -b .dfdirect
 %patch106 -p1 -b .java
+%patch107 -p1 -b .mkdirmode
 
 # sh-utils
 %patch703 -p1 -b .dateman
@@ -329,6 +332,10 @@ fi
 %{_libdir}/coreutils
 
 %changelog
+* Tue Mar 22 2011 Ondrej Vasik <ovasik at redhat.com> - 8.10-7
+- add note about mkdir mode behaviour into info
+  documentation (#610559)
+
 * Mon Mar 14 2011 Ondrej Vasik <ovasik at redhat.com> - 8.10-6
 - fix possible uninitalized variables usage caused by i18n
   patch(#683799)


More information about the scm-commits mailing list