Fix bad octal conversion
This commit is contained in:
		@@ -214,7 +214,7 @@ def run_hook_copy(config, targets, args):
 | 
				
			|||||||
                    sfile = f"{config['ansible_path']}/{sfile}"
 | 
					                    sfile = f"{config['ansible_path']}/{sfile}"
 | 
				
			||||||
                tc = c.open_sftp()
 | 
					                tc = c.open_sftp()
 | 
				
			||||||
                tc.put(sfile, dfile)
 | 
					                tc.put(sfile, dfile)
 | 
				
			||||||
                tc.chmod(dfile, int(dmode))
 | 
					                tc.chmod(dfile, int(dmode, 8))
 | 
				
			||||||
                tc.close()
 | 
					                tc.close()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user