summaryrefslogtreecommitdiffstats
path: root/aaabasicfs/unmask.sh
diff options
context:
space:
mode:
Diffstat (limited to 'aaabasicfs/unmask.sh')
-rw-r--r--aaabasicfs/unmask.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/aaabasicfs/unmask.sh b/aaabasicfs/unmask.sh
new file mode 100644
index 000000000..9a3f8243d
--- /dev/null
+++ b/aaabasicfs/unmask.sh
@@ -0,0 +1,6 @@
+# By default we want the umask to get set.
+if [ "$(id -gn)" = "$(id -un)" -a $EUID -gt 99 ] ; then
+ umask 002
+else
+ umask 022
+fi