Change permission of raw device by UUID

Posted by Omid Kosari on Ask Ubuntu See other posts from Ask Ubuntu or by Omid Kosari
Published on 2013-11-02T09:44:12Z Indexed on 2013/11/02 10:12 UTC
Read the original article Hit count: 175

Filed under:
|
|

I am using "Apache Traffic Server" which may and it is better to use raw device like /dev/sdb without mounting it as a directory .

So i should change the permission of /dev/sdb from root to user "trafficserver" to allow it formatting whole device as it likes .

The problem starts after each reboot because /dev/sdb changes randomize so i should use UUID . But i can not change the permission of /dev/disk/by-uuid/48c2fac6-06eb-42c7-8b8a-3b83b781f28c .

Is there a way to permanently change permission of disk drive by UUID ?

© Ask Ubuntu or respective owner

Related posts about permissions

Related posts about disk