mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	Merge pull request #28 from lucasRolff/add_chown
Chown directories to parent
This commit is contained in:
		
						commit
						ef4ee47f11
					
				
							
								
								
									
										5
									
								
								le.sh
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								le.sh
									
									
									
									
									
								
							| @ -537,6 +537,11 @@ issue() { | ||||
|        | ||||
|       mkdir -p "$wellknown_path" | ||||
|       echo -n "$keyauthorization" > "$wellknown_path/$token" | ||||
| 
 | ||||
|       webroot_owner=$(stat -c '%U:%G' $Le_Webroot) | ||||
|       _debug "Changing owner/group of .well-known to $webroot_owner" | ||||
|       chown -R $webroot_owner "$Le_Webroot/.well-known" | ||||
| 
 | ||||
|     fi | ||||
|     wellknown_url="http://$d/.well-known/acme-challenge/$token" | ||||
|     _debug wellknown_url "$wellknown_url" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user