Support passing directories as arguments
Ensure correct permissions for created devices