mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	Bug 535124 – umask 002 not being applied for new directories, new files
2008-08-08 Loïc Minier <lool@dooz.org> Bug 535124 – umask 002 not being applied for new directories, new files get the correct umask * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of 0755 as umask svn path=/trunk/; revision=7323
This commit is contained in:
		@@ -1,3 +1,11 @@
 | 
			
		||||
2008-08-08  Loïc Minier  <lool@dooz.org>
 | 
			
		||||
 | 
			
		||||
	Bug 535124 – umask 002 not being applied for new directories, new
 | 
			
		||||
	files get the correct umask
 | 
			
		||||
 | 
			
		||||
	* glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
 | 
			
		||||
	0755 as umask
 | 
			
		||||
 | 
			
		||||
2008-08-08  Tor Lillqvist  <tml@novell.com>
 | 
			
		||||
 | 
			
		||||
	* gwin32mount.c: Remove unused code. Whitespace cleanup.
 | 
			
		||||
 
 | 
			
		||||
@@ -1992,7 +1992,7 @@ g_local_file_make_directory (GFile         *file,
 | 
			
		||||
{
 | 
			
		||||
  GLocalFile *local = G_LOCAL_FILE (file);
 | 
			
		||||
  
 | 
			
		||||
  if (g_mkdir (local->filename, 0755) == -1)
 | 
			
		||||
  if (g_mkdir (local->filename, 0777) == -1)
 | 
			
		||||
    {
 | 
			
		||||
      int errsv = errno;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user