bugGNU Core Utilities - Bugs: bug #28891, Fix all code that sets the umask...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28891: Fix all code that sets the umask to zero

Submitted by:  Matt McCutchen <hashproduct>
Submitted on:  Sat 13 Feb 2010 09:51:29 PM UTC  
Votes:  20  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Sat 13 Feb 2010 09:51:29 PM UTC, original submission:

Several pieces of code in coreutils set the umask to zero in order to create files with specific permissions:

Code that takes this approach generally doesn't handle default ACLs properly. Here's an example with mkdir(1):

The code should be fixed to call chmod(2) on the created files, and then the umask is no longer relevant.

Matt McCutchen <hashproduct>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chewi
  • -email is unavailable- added by mjo
  • -email is unavailable- added by hashproduct (Voted in favor of this item)
  • -email is unavailable- added by hashproduct (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 20 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Tue 09 Sep 2014 11:19:17 AM UTC chewi Carbon-Copy- => Added chewi
    Wed 08 Aug 2012 02:47:02 PM UTC mjo Carbon-Copy- => Added mjo
    Sat 13 Feb 2010 10:00:34 PM UTC hashproduct Carbon-Copy- => Added hashproduct

    Back to the top


    Powered by Savane 3.3