I've been studying WordPress source code that operates on the filesystem, when I hit these few lines and I'm really not quite sure what they do?\[code\]$stat = stat( dirname( $new_file ));$perms = $stat['mode'] & 0000666;@ chmod( $new_file, $perms );\[/code\]