diff umasked.sh @ 146:356bcdeb008f

* Fixed incorrect file permissions on file creation with an external shell wrapper. * Reverted r140.
author Sergey Budnevitch <sb@waeme.net>
date Tue, 25 Oct 2011 12:45:16 +0000
parents
children
line wrap: on
line diff
new file mode 100755
--- /dev/null
+++ b/umasked.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+umask 002
+
+exec /bin/sh "$@"