> From: Stephan von Krawczynski [mailto:sk...@ithnet.com]
> 
> I try to use a physical disk from a (linux) guest on a linux host. The
> corresponding /dev/sdX file has root.disk set as owner.

You should be using rdsk instead of dsk.

If you "ls -l" /dev/sdX you'll see, it's actually just a symlink.
ls -l /dev/rdsk/c3t1d0p0
lrwxrwxrwx 1 root root 53 2013-05-29 21:26 /dev/rdsk/c3t1d0p0 -> 
../../devices/pci@0,0/pci1028,211@1f,2/disk@1,0:q,raw

You have to check perms by "ls -l" on the target.
ls -l /devices/pci@0,0/pci1028,211@1f,2/disk@1,0:q,raw

In my case, I see these perms:
cr-------- 1 root root

Which means no.  Being part of the "disk" group isn't going to do any good.

sudo chown eharvey /dev/rdsk/c3t1d0p0

Worse yet, the permissions will reset every time you reboot the host.

I use a SMF service to chown the volumes on every reboot.  (And start and stop 
the guests.)
https://code.google.com/p/simplesmf/

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
VBox-users-community mailing list
VBox-users-community@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe

Reply via email to