use constants for generating read/write permission string