File permissions now work for security groups