Use octal for folder permissions, default to 0666 for files