change permissions of storage dir