Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There is no difference between umask <code>0022</code> and umask <code>022</code>. </p> <p>The octal umasks are calculated via the bitwise AND of the unary complement of the argument using bitwise NOT.</p> <p><strong>Set the umask like this:</strong></p> <pre><code>el@apollo:~$ umask 0077 el@apollo:~$ umask 0077 el@apollo:~$ umask 0022 el@apollo:~$ umask 0022 </code></pre> <p><strong>Brief summary of umask value meanings:</strong></p> <p>umask 077 - Assigns permissions so that only you have read/write access for files, and read/write/search for directories you own. All others have no access permissions to your files or directories.</p> <p>umask 022 - Assigns permissions so that only you have read/write access for files, and read/write/search for directories you own. All others have read access only to your files, and read/search access to your directories.</p> <p>umask 002 - Assigns permissions so that only you and members of your group have read/write access to files, and read/write/search access to directories you own. All others have read access only to your files, and read/search to your directories.</p> <p><strong>For more information about what umask does:</strong></p> <p>How to set your default umask, see this article: <a href="http://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html" rel="nofollow noreferrer">http://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html</a></p> <p>If you want more detailed information this is an interesting article: <a href="http://articles.slicehost.com/2010/7/17/umask-and-unusual-file-permissions-and-types" rel="nofollow noreferrer">http://articles.slicehost.com/2010/7/17/umask-and-unusual-file-permissions-and-types</a></p> <p>The answers to this post also offer some insight into umask bits: <a href="https://stackoverflow.com/questions/4056912/question-about-umask-in-linux">https://stackoverflow.com/questions/4056912/question-about-umask-in-linux</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload