captain-amygdala / pistorm

68k Hardware Emulator
MIT License
737 stars 103 forks source link

Wiki : Add pi user to disk group #67

Closed Guddler closed 1 year ago

Guddler commented 1 year ago

When working through a dual setup from the same SD card, emulator would not add the raw disk device citing it could not open the file. It looks like it was a simple permissions issue where adding the pi user to the disk group resolved the issue. You could of course change the file permissions for the block device but adding the user to the group is probably the more correct thing to do.

Guddler commented 1 year ago

I'm going to close this (if I can) as I don't think it's required. the wiki does say that you should run the emulator using sudo and when you do that, it works - i just didn't read that part of the wiki. Furthermore when you get to the point of installing pistorm as a service, the included service file runs pistorm as root so again, the problem goes away.