Init uid,gid,mode for new inode according to posix standards
void inode_init_owner(struct inode * inode, const struct inode * dir, umode_t mode);
inode
New inode
dir
Directory inode
mode
mode of the new inode