Fixed syntax error in command to set access rights

Fixed syntax error in command to set access rights.
Merge pull request #446 from RyannosaurusRex/patch-1

Fixed syntax error in command to set access rights