@kjakkali, I am confused. in EDD you still say following at the top
- New interface to create a temporary file
- update file copy operation to not keep original permission by default this will avoid additional chmod
But the default for new interface is “preserve_permission=True”.
Also this whole bug is about additional chmod | chown operation and unwanted sudo rules.
"For file copy operation PTL does copy file with keeping original permission and then change owner and permissions of file"
So can you tell me how are you going to address the original issue?