changed permissions field to text field