only prevent shared action for the Shared folder in the root dir