Check-in [01c5bfc689]
Overview
SHA1:01c5bfc689acd294355a5937b2210fcb65b407f1
Date: 2015-03-20 01:50:01
User: rkeene
Comment:Updated to set umask on startup
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2015-03-20
03:13
[79c3658a52] Updated to allow users to specify permissions on files by their SHA1 in addition to filename (user: rkeene, tags: trunk)
01:50
[01c5bfc689] Updated to set umask on startup (user: rkeene, tags: trunk)
01:46
[0ab26b4975] Updated to lowercase permissions read from the database, for security (user: rkeene, tags: trunk)
Changes

Modified appfsd.c from [fe7e6328bd] to [6a6fdd4f92].

  2165   2165   	}
  2166   2166   
  2167   2167   	argv0 = argv[0];
  2168   2168   
  2169   2169   	argc--;
  2170   2170   	argv++;
  2171   2171   
         2172  +	/*
         2173  +	 * Set appropriate umask
         2174  +	 */
         2175  +	umask(022);
         2176  +
  2172   2177   	/*
  2173   2178   	 * Set global variables, these should be configuration options.
  2174   2179   	 */
  2175   2180   	appfs_cachedir = APPFS_CACHEDIR;
  2176   2181   
  2177   2182   	/*
  2178   2183   	 * Set global variable for "boot time" to set a time on directories