fix icacls for non-english versions of windows
This commit is contained in:
		
							parent
							
								
									4c213a238a
								
							
						
					
					
						commit
						e9d2a72d00
					
				| @ -1817,7 +1817,7 @@ pub fn set_path_permission(dir: &PathBuf, permission: &str) -> ResultType<()> { | ||||
|     std::process::Command::new("icacls") | ||||
|         .arg(dir.as_os_str()) | ||||
|         .arg("/grant") | ||||
|         .arg(format!("Everyone:(OI)(CI){}", permission)) | ||||
|         .arg(format!("*S-1-1-0:(OI)(CI){}", permission)) | ||||
|         .arg("/T") | ||||
|         .spawn()?; | ||||
|     Ok(()) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user