mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	This change modifies the chmod bits of build context archives built on windows to preserve the execute bit and remove the r/w bits from grp/others. Also adjusted integ-cli tests to verify permissions based on the platform the tests are running. Fixes #11047. Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			156 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			156 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// +build !windows
 | 
						|
 | 
						|
package main
 | 
						|
 | 
						|
const (
 | 
						|
	// identifies if test suite is running on a unix platform
 | 
						|
	isUnixCli = true
 | 
						|
 | 
						|
	expectedFileChmod = "-rw-r--r--"
 | 
						|
)
 |