Reputation
237
Top tag
Next privilege 250 Rep.
View close votes
Badges
2 12
Impact
~13k people reached

  • 0 posts edited
  • 0 helpful flags
  • 6 votes cast
Jan
6
awarded  Notable Question
Oct
16
comment set umask before every non login non interactive shell command
I also tried putting only umask 002 &>/dev/null inside ~/.ssh/rc but it does not work either, like in SO question from your comment above. I'll try use pam_umask or some server script to fix permissions. Thanks for help.
Oct
16
comment set umask before every non login non interactive shell command
Yes, it was typo, I fixed it. Your link with pam_umask is probably correct solution. But I'm curious why umask does not work inside my server ~/.ssh/rc file since echo commands are executed.
Oct
16
revised set umask before every non login non interactive shell command
deleted 17 characters in body
Oct
16
comment set umask before every non login non interactive shell command
I'm not really sure what you telling me. Should I create another script beside ~/.ssh/rc and source it inside? How is it different from just calling umask directly inside ~/.ssh/rc on ssh server? This file is executed by ssh on connect. echo commands are executed then why not umask?
Oct
16
revised set umask before every non login non interactive shell command
added 31 characters in body
Oct
16
asked set umask before every non login non interactive shell command
Sep
24
comment More than one WIDs associated with “Chrome”?
I don't know why there is more than one window ID but I found a workaround. When searching use --desktop 0 parameter like this: xdotool search --desktop 0 --class "Google-chrome-stable". After that I get only one window ID or more if there is some kind of popup confirm windows etc. When there is more than one ID, first one seems to be the main window ID.
Apr
27
revised cat /dev/ttyS0 Input/output error
added 206 characters in body
Apr
15
revised cat /dev/ttyS0 Input/output error
added 544 characters in body; edited tags
Mar
23
asked cat /dev/ttyS0 Input/output error
Dec
26
awarded  Popular Question
Dec
8
awarded  Popular Question
Oct
15
awarded  Popular Question
Oct
3
revised gksu -S ask for password only once even when set to three times in sudo configuration
edited tags
Oct
3
asked gksu -S ask for password only once even when set to three times in sudo configuration
Jul
16
awarded  Popular Question
Jul
2
awarded  Curious
Jun
30
awarded  Popular Question
Jun
24
revised Boot resolution change in initramfs on laptop monitor and HDMI monitor
edited tags