Allow to run Appium using sudo if it is still run be user who owns Appium files

Partial fix for #1902