Prevent running the files:scan command as the wrong user
Merge pull request #9206 from owncloud/occ-scan-user

Prevent running the files:scan command as the wrong user