sets more restrictive umask for subu files, if there are gnome launched applications...
authorThomas Walker Lynch <eknp9n@reasoningtechnology.com>
Sun, 8 Jun 2025 09:05:58 +0000 (02:05 -0700)
committerThomas Walker Lynch <eknp9n@reasoningtechnology.com>
Sun, 8 Jun 2025 09:05:58 +0000 (02:05 -0700)
developer/shell/subu

index 71c81e5..ae30e07 100644 (file)
@@ -37,5 +37,6 @@ sudo loginctl enable-linger "$subu_user"
 sudo machinectl shell "$subu_user"@ /bin/bash -c "
   export DISPLAY='$display_val';
   export XAUTHORITY='$subu_Xauthority_path';
+  umask 077
   exec \"\$SHELL\" -l
 "