mirror of
				https://github.com/factoriotools/factorio-docker.git
				synced 2025-10-31 08:58:08 +01:00 
			
		
		
		
	Fix conflicting user group ids (#232)
This commit is contained in:
		
				
					committed by
					
						 Florian Kinder
						Florian Kinder
					
				
			
			
				
	
			
			
			
						parent
						
							730b2c334b
						
					
				
				
					commit
					eea1d550f2
				
			| @@ -36,8 +36,8 @@ fi | ||||
|  | ||||
| if [ "$(id -u)" = '0' ]; then | ||||
|   # Update the User and Group ID based on the PUID/PGID variables | ||||
|   usermod -u $PUID factorio | ||||
|   groupmod -g $PGID factorio | ||||
|   usermod -o -u $PUID factorio | ||||
|   groupmod -o -g $PGID factorio | ||||
|   # Take ownership of factorio data if running as root | ||||
|   chown -R factorio:factorio $FACTORIO_VOL | ||||
|   # Make sure we own temp | ||||
|   | ||||
		Reference in New Issue
	
	Block a user