On 8/8/06, Andrew Lentvorski <[EMAIL PROTECTED]> wrote:
Brian Butler wrote:

> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: 3ware    Model: Logical Disk 0   Rev: 1.2
>   Type:   Direct-Access                    ANSI SCSI revision: ffffffff
> Host: scsi5 Channel: 00 Id: 02 Lun: 00
>   Vendor: SONY     Model: SDT-9000         Rev: 0400
>   Type:   Sequential-Access                ANSI SCSI revision: 02
>
> In my messages file in /var/log/ I'm getting the following:
>
> kernel: st0: MTSETDRVBUFFER only allowed for root
>
> I don't know how to resolve this problem.  Any assistance would be
> appreciated.

Well, I'm going to ask the obvious since you didn't cut and paste your
prompts:

Are you logged in as root when you execute the mt commands?

Tape drives often have unusual permissions on their /dev entries.  In
addition, for devfs I seem to recall that you have to edit some file to
set the permissions rather than doing a direct chmod on the entry.



Another question along the same line of inquiry:
is the "mt" command aliased to something else?

Have you tried the non-action command   mt -f /dev/st0 status

Have you looked at the permissions of /dev/st0?
[EMAIL PROTECTED] tmp]$ ls -l /dev/st0*
crw-rw----  1 root disk 9,  0 Aug  6 13:23 /dev/st0
crw-rw----  1 root disk 9, 96 Aug  6 13:23 /dev/st0a
crw-rw----  1 root disk 9, 32 Aug  6 13:23 /dev/st0l
crw-rw----  1 root disk 9, 64 Aug  6 13:23 /dev/st0m

I am a member of group disk and can therefore read and write.

   carl
--
   carl lowenstein         marine physical lab     u.c. san diego
                                                [EMAIL PROTECTED]


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to