Revert "fixed permission mode on plugin subdirectory"

This reverts commit d563c1e80b38c1d00581e80f42f7092573a51f26.