mirror of
				https://github.com/taigrr/bitcask
				synced 2025-01-18 04:03:17 -08:00 
			
		
		
		
	* Add configuration options for FileMode Add two additional configuration values, and their corresponding default values: * DirFileModeBeforeUmask - Dir FileMode is used on all directories created. DefaultDirFileModeBeforeUmask is 0700. * FileFileModeBeforeUmask - File FileMode is used on all files created, except for the "lock" file (managed by the Flock library). DefaultFileFileModeBeforeUmask is 0600. When using these bits of configuration, keep in mind these FileMode values are set BEFORE any umask rules are applied. For example, if the user's umask is 022, setting DirFileFileModeBeforeUmask to 777 will result in directories with FileMode set to 755 (this umask prevents the write bit from being applied to group and world permissions). * moving defer statements after checking for errors use os.ModePerm const instead of os.FileMode(777) * fix spelling/grammar * skip these tests for Windows as they appear to break - Windows is less POSIX-y than it claims * ignore "lock" file for default case too -- this was incorrectly passing before including this, as my local dev station has umask 022
		
			
				
	
	
		
			19 lines
		
	
	
		
			605 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			605 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Entries should be added alphabetically in the form:
 | |
| #   Name or Organization <email address>
 | |
| # The email address is not required for organizations.
 | |
| 
 | |
| Alain Gilbert <alain.gilbert.15@gmail.com>
 | |
| Awn Umar <awn@spacetime.dev>
 | |
| Bryan Stenson <bryan@siliconvortex.com>
 | |
| Christian Muehlhaeuser <muesli@gmail.com>
 | |
| Ignacio Hagopian <jsign.uy@gmail.com>
 | |
| James Mills <prologic@shortcircuit.net.au>
 | |
| Jesse Donat <donatj@gmail.com>
 | |
| Kebert Xela kebertxela
 | |
| panyun panyun 
 | |
| shiniao <zhuzhezhe95@gmail.com>
 | |
| Whemoon Jang <palindrom615@gmail.com>
 | |
| Yury Fedorov orlangure
 | |
| o2gy84 <o2gy84@gmail.com>
 | |
| garsue <labs.garsue@gmail.com>
 |