Mercurial > hg > nginx-site
annotate umasked.sh @ 2406:e79e32d19ae4
Development guide: fixed function type in code example.
The function actually has return code.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Mon, 08 Jul 2019 17:36:55 +0300 |
parents | 356bcdeb008f |
children |
rev | line source |
---|---|
146
356bcdeb008f
* Fixed incorrect file permissions on file creation with an external shell wrapper.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
1 #!/bin/sh |
356bcdeb008f
* Fixed incorrect file permissions on file creation with an external shell wrapper.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
2 |
356bcdeb008f
* Fixed incorrect file permissions on file creation with an external shell wrapper.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
3 umask 002 |
356bcdeb008f
* Fixed incorrect file permissions on file creation with an external shell wrapper.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
4 |
356bcdeb008f
* Fixed incorrect file permissions on file creation with an external shell wrapper.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
5 exec /bin/sh "$@" |