<---- template headericclude ----->
umask 077
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    ezzetabi Guest

    umask 077

    I am studing hard, but I am still a new Linux user and studing file permissions I saw the files in my home often have read permissions for other users.
    So I used
    Code:
    find ~ -type d -exec chmod 700 {} \;
    find ~ -type f -exec chmod 600 {} \;
    and just after I activated the execute permission for the scripts I have...

    Now... I suddendly had a doubt, the Linux athors knows LOTS more than me... maybe there is a reason for allowing others groups read my files?
    Or I can set umask 077 without worries?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Denver, CO USA
    Posts
    670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    umask 077 will mean that no one besides you (and root), not even other users in the same group, will be able to even read your files. Its not unsafe to do, but if your situation requires that others at least read your files, you will be constantly changing permissions on the files to grant them access. The default umask is 022 for this very reason.

    Dave

Similar Threads

  1. umask
    By BillT440 in forum Using Fedora
    Replies: 0
    Last Post: 29th April 2008, 09:52 PM
  2. Umask help...
    By kerveros in forum Using Fedora
    Replies: 0
    Last Post: 27th June 2005, 11:36 AM
  3. help with umask
    By hiberphoptik in forum Using Fedora
    Replies: 8
    Last Post: 19th October 2004, 08:28 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]