This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

umask question

 
Raj Ohadi
Ranch Hand
Posts: 316
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I change the "umask" value at a certain directory (by manually type "umask xx"), will that only affect files in that directory without affecting the umask setting for files at any other directory ?
 
Vlado Zajac
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
umask works for processes not directories. So it will affect all new files created from that shell and all child processes.
 
Raj Ohadi
Ranch Hand
Posts: 316
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not good at unix script. how to set umask in a korn script ? any example ?

thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic