View previous topic :: View next topic |
Author |
Message |
romalong Guru


Joined: 08 Jun 2005 Posts: 488 Location: Kiev
|
Posted: Mon Jan 30, 2006 2:46 pm Post subject: umask 0077 |
|
|
hi!
does it make a sence to set umask 0077?
PS if you're not sure, don't reply please! |
|
Back to top |
|
 |
SinoTech Advocate

Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Mon Jan 30, 2006 4:14 pm Post subject: |
|
|
If you set umask to 0077 nobody except your user has access to the data. So it depends on you if you want to give access to your data to somebody in your group (somebody other) or not. If you have only data nobody else should have access to, it is wise to set umask to 0077. If most of your data should be shared with others you should set umask to something other. It's your choice and nobody can help you choosing the right value .
Regards,
Sino |
|
Back to top |
|
 |
romalong Guru


Joined: 08 Jun 2005 Posts: 488 Location: Kiev
|
Posted: Mon Jan 30, 2006 5:08 pm Post subject: |
|
|
thanx!
i'd restrict before i let something...
so umask 0077 is wise to set |
|
Back to top |
|
 |
SinoTech Advocate

Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Mon Jan 30, 2006 10:15 pm Post subject: |
|
|
Here's how I do:
1. umask is set to default. So I can read, write, ... but others can just read and write (So everybody can see my data but not overwrite it).
2. I've got two additinal directories in my home. The first one is set to 700 which means nobody except me can access, read and write to it. I use this directory to store data nobody else shall see. The second directory, called shared, is set to 777, which means everybody can read and write to it. It is used to share files with others.
However, everybody has its own method to handle restrictions to his data and/or shares. That's just my two cents.
Regards,
Sino |
|
Back to top |
|
 |
romalong Guru


Joined: 08 Jun 2005 Posts: 488 Location: Kiev
|
Posted: Thu Feb 02, 2006 2:26 pm Post subject: |
|
|
SinoTech wrote: | Here's how I do:
1. umask is set to default. So I can read, write, ... but others can just read and write (So everybody can see my data but not overwrite it).
2. I've got two additinal directories in my home. The first one is set to 700 which means nobody except me can access, read and write to it. I use this directory to store data nobody else shall see. The second directory, called shared, is set to 777, which means everybody can read and write to it. It is used to share files with others.
However, everybody has its own method to handle restrictions to his data and/or shares. That's just my two cents.
Regards,
Sino |
okay!
thanx for the tip! |
|
Back to top |
|
 |
|