Hey, did you test this? Is this working?

How can you do chmod/chown on a file that does not exist yet?

What is the issue you are trying to solve? Can you please paste the error message you see?