[quake3-commits] r1598 - trunk/code/sys
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Sep 14 19:46:45 EDT 2009
Author: icculus
Date: 2009-09-14 19:46:44 -0400 (Mon, 14 Sep 2009)
New Revision: 1598
Modified:
trunk/code/sys/sys_unix.c
Log:
Make newly-created prefpath permissions more sane.
Modified: trunk/code/sys/sys_unix.c
===================================================================
--- trunk/code/sys/sys_unix.c 2009-09-14 23:45:00 UTC (rev 1597)
+++ trunk/code/sys/sys_unix.c 2009-09-14 23:46:44 UTC (rev 1598)
@@ -55,14 +55,14 @@
Q_strncpyz( homePath, p, sizeof( homePath ) );
#ifdef MACOS_X
Q_strcat( homePath, sizeof( homePath ), "/Library" );
- mkdir( homePath, 0777 ); /* just in case. */
+ mkdir( homePath, 0750 ); /* just in case. */
Q_strcat( homePath, sizeof( homePath ), "/Application Support" );
- mkdir( homePath, 0777 ); /* just in case. */
+ mkdir( homePath, 0750 ); /* just in case. */
Q_strcat( homePath, sizeof( homePath ), "/Quake3" );
#else
Q_strcat( homePath, sizeof( homePath ), "/.q3a" );
#endif
- if( mkdir( homePath, 0777 ) )
+ if( mkdir( homePath, 0750 ) )
{
if( errno != EEXIST )
{
More information about the quake3-commits
mailing list