Fixing permissions for console