
April 15th, 2008, 01:33 PM
|
 |
Not a clue what to put ...
|
|
Join Date: Jan 2006
Location: in front of this keyboard
|
|
The umask will control what permissions a file or directory will get when created - the mechanism is a bit bass-ackward  but, in effect, barring no other influences a umask will have files created with rwxr-xr-x (755) permissions. There ARE other influences, which a man umask will reveal.
The . /etc/environment is sourcing the specified file, which (from the name) sounds like it will be setting up the users environment. Being sourced (the . is the command) means that anything set in that file will be retained (think of it like an include file) within the environment of the running process (the user shell) unlike if it had been executed, in which case any variables woudl only exist within the sub-shell process created.
__________________
According to Sod's Law, buttered toast lands butter side down, when dropped.
Per nature, cats always land on their feet.
So, what happens when you strap buttered toast to the back of a cat and throw it out a window?.
|