in reply to How is the owner of a directory created with MKDIR determined?

It will be owned by the user the program is running as. If the directory is sometimes owned by root, then it is probably that you are sometimes running the script as root.


We're not surrounded, we're in a target-rich environment!
  • Comment on Re: How is the owner of a directory created with MKDIR determined?