mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	fix apache mode: It's not necessary to chown for apache mode.
This commit is contained in:
		
							parent
							
								
									c456d9543f
								
							
						
					
					
						commit
						df886ffa25
					
				
							
								
								
									
										3
									
								
								le.sh
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								le.sh
									
									
									
									
									
								
							| @ -1127,10 +1127,11 @@ issue() { | ||||
| 
 | ||||
|         mkdir -p "$wellknown_path" | ||||
|         echo -n "$keyauthorization" > "$wellknown_path/$token" | ||||
| 
 | ||||
|         if [[ ! "$usingApache" ]] ; then | ||||
|           webroot_owner=$(_stat $Le_Webroot) | ||||
|           _debug "Changing owner/group of .well-known to $webroot_owner" | ||||
|           chown -R $webroot_owner "$Le_Webroot/.well-known" | ||||
|         fi | ||||
|          | ||||
|       fi | ||||
|     fi | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user