Skip to content

Commit a472f32

Browse files
flip111xabbuh
authored andcommitted
Update filesystem.rst
1 parent 9008929 commit a472f32

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/filesystem.rst

+8
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ On POSIX filesystems, directories are created with a default mode value
6868

6969
This function ignores already existing directories.
7070

71+
.. note::
72+
73+
The directory permissions are affected by the current `umask`_.
74+
Set the umask for your webserver, use PHP's :phpfunction:`umask`
75+
function or use the :phpfunction:`chmod` function after the
76+
directory has been created.
77+
7178
exists
7279
~~~~~~
7380

@@ -278,3 +285,4 @@ Learn More
278285
filesystem/*
279286

280287
.. _`Packagist`: https://packagist.org/packages/symfony/filesystem
288+
.. _`umask`: https://en.wikipedia.org/wiki/Umask

0 commit comments

Comments
 (0)