Mode should be quoted when setting permissions