Task #9569

Updated by fao89 over 2 years ago


 **Ticket moved to GitHub**: "pulp/pulpcore/2061": 


 There were various issues due to Pulp writing to /tmp, mostly it's running out of disc space because /tmp is usually not expected to be large.   
 Problems come from `NamedTemporaryFile` and `TemporaryDirectory` which do not have `dir` parameter specified. 

 There is also inconsistency in how directories are referred to.   
 Let's fix it as well.   
 Current flavours for the current directory are `dir="."` and `dir=os.getcwd()`. 

 It would be good to check plugins as well, I just fixed 4 places in pulp_rpm.