From 9f3f1f0a81886c214ec77608040cd4d281ca541e Mon Sep 17 00:00:00 2001 From: flip111 Date: Wed, 30 Aug 2017 17:57:42 +0200 Subject: [PATCH 1/3] Update filesystem.rst add information about umask to directory creation --- components/filesystem.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/filesystem.rst b/components/filesystem.rst index 1ab82a96035..97bed16320b 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -68,6 +68,10 @@ On POSIX filesystems, directories are created with a default mode value This function ignores already existing directories. +.. note:: + + The directory permissions are affected by the current `umask`_.. Set the umask for your webserver, use PHP's `umask() function`_. or use the chmod() function after the directory has been created. + exists ~~~~~~ From c63dae9e7438fa63d258eaf7e4c0a98ea476898c Mon Sep 17 00:00:00 2001 From: flip111 Date: Thu, 31 Aug 2017 17:20:18 +0200 Subject: [PATCH 2/3] Update filesystem.rst fixed links --- components/filesystem.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/filesystem.rst b/components/filesystem.rst index 97bed16320b..1f351066da7 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -70,7 +70,7 @@ On POSIX filesystems, directories are created with a default mode value .. note:: - The directory permissions are affected by the current `umask`_.. Set the umask for your webserver, use PHP's `umask() function`_. or use the chmod() function after the directory has been created. + The directory permissions are affected by the current `umask`_. Set the umask for your webserver, use PHP's :phpfunction:`umask` function or use the :phpfunction:`chmod` function after the directory has been created. exists ~~~~~~ @@ -282,3 +282,4 @@ Learn More filesystem/* .. _`Packagist`: https://packagist.org/packages/symfony/filesystem +.. _`umask`: https://en.wikipedia.org/wiki/Umask From 1d70c8bc6cdb01ec0e6ae61a959428a6ad6bd124 Mon Sep 17 00:00:00 2001 From: flip111 Date: Thu, 31 Aug 2017 18:04:42 +0200 Subject: [PATCH 3/3] Update filesystem.rst Added line wrap at char 72 --- components/filesystem.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/filesystem.rst b/components/filesystem.rst index 1f351066da7..17188aa9c33 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -70,7 +70,10 @@ On POSIX filesystems, directories are created with a default mode value .. note:: - The directory permissions are affected by the current `umask`_. Set the umask for your webserver, use PHP's :phpfunction:`umask` function or use the :phpfunction:`chmod` function after the directory has been created. + The directory permissions are affected by the current `umask`_. + Set the umask for your webserver, use PHP's :phpfunction:`umask` + function or use the :phpfunction:`chmod` function after the + directory has been created. exists ~~~~~~