apptainer use the --with-suid configure option (#35513)
This commit is contained in:
		 simonleary-umass-edu
					simonleary-umass-edu
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							e8238fe330
						
					
				
				
					commit
					712d358f7e
				
			| @@ -45,4 +45,8 @@ class Apptainer(SingularityBase): | |||||||
|     # Override config options from SingularityBase |     # Override config options from SingularityBase | ||||||
|     @property |     @property | ||||||
|     def config_options(self): |     def config_options(self): | ||||||
|         return [] |         spec = self.spec | ||||||
|  |         options = [] | ||||||
|  |         if spec.satisfies("@1.1.0: +suid"): | ||||||
|  |             options.append("--with-suid") | ||||||
|  |         return options | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user