Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

If I set my file creation mask (umask) in ~/.login, will the mask be the same when I start another shell ?

creation file mask Shell umask
0
10 Posted

If I set my file creation mask (umask) in ~/.login, will the mask be the same when I start another shell ?

0
10

When you start another shell using rlogin or telnet, your umask will be the same whether you put the umask command ~/.login or ~/.cshrc, however the best place to set your umask is in ~/.cshrc, as some programs like rsh source ~/.cshrc when carrying out commands on remote systems. Make sure to place the umask command before the non-interactive-shell check.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123