Fixes #5747: don't use array with more than 10 column in filesPermission...

...s