Question : Problem: MT is giving "Operation not Permitted" error

When i try to run the command:
root@workbench-linux:/# mt -f /dev/sg0 status

I get this:
mt: /dev/sg0: rmtioctl failed: Operation not permitted

I have no idea why this would happen, and for the life of me, i can not figure it out!

Answer : Problem: MT is giving "Operation not Permitted" error

You should be using one of the SCSI tape devices, not the SCSI generic device.

mt -f /dev/nst0

- or -

mt -f /dev/st0

Using st0 will cause a rewind which is often not what you want, so nst0 is better (non-rewinding tape device)
Random Solutions  
 
programming4us programming4us