http://qs321.pair.com?node_id=291814


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

mkdir $dir_name, 0777 unless -d $dir_name; gives 755 permissions with standard umask 22.

Comment: Oops - read question! 'pologies...

  • Comment on Re: How is the owner of a directory created with MKDIR determined?
  • Download Code

Replies are listed 'Best First'.
Re: How is the owner of a directory created with MKDIR determined?
by Abigail-II (Bishop) on Sep 16, 2003 at 13:42 UTC
    Well, yeah, but what has file permission to do with ownership?

    Abigail