d2: set permissions on flash device for torch

http://review.cyanogenmod.org/#/c/47652/
Scott Warner<Tortel1210@gmail.com>

Change-Id: Ieff94ba3d8c8d056c68a38c4e4be7699f61a72bf