mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-04 04:56:52 +02: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:
parent
d4fd1ea15d
commit
83e4fb4f9b
@ -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>
|
2008-08-08 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
* gwin32mount.c: Remove unused code. Whitespace cleanup.
|
* gwin32mount.c: Remove unused code. Whitespace cleanup.
|
||||||
|
@ -1992,7 +1992,7 @@ g_local_file_make_directory (GFile *file,
|
|||||||
{
|
{
|
||||||
GLocalFile *local = G_LOCAL_FILE (file);
|
GLocalFile *local = G_LOCAL_FILE (file);
|
||||||
|
|
||||||
if (g_mkdir (local->filename, 0755) == -1)
|
if (g_mkdir (local->filename, 0777) == -1)
|
||||||
{
|
{
|
||||||
int errsv = errno;
|
int errsv = errno;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user