Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Michael Clark could not give user informix access to the tape device on RedHat; mt and ontape returned permission denied. Art Kagel suggested chmod, chown or chgrp on the device, or a tape group. Another poster suggested chmod 666 at startup. Michael solved it by adding informix to the disk group, which owns /dev/st0, and wondered why the installer did not.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
MICHAEL CLARK — — source: IIUG Forums & Mailing Lists
How do I give the user informix access to the tape device in RedHat. Currently
when using the mt command or ontape command, the server returns "permission
denied"
you need to chmod, chown, or chgrp the device file to permit user informix to
write to it.
chmod 666 /dev/mt0
-or-
chown informix /dev/mt0
-or-
chgrp informix /dev/mt0
Depending on how you want to permit/restrict access by/from other users. You
could also create a tape access group and add that group to informix' group
list the chgrp the device to that tape access group.
Art S. Kagel
----- Original Message -----
From: Michael Clark <ids@iiug.org>
At: 11/08 12:16:07
How do I give the user informix access to the tape device in RedHat. Currently
when using the mt command or ontape command, the server returns "permission
denied"
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
On OS startup (or as root) /bin/chmod 666 {tape device}
MW
-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
MICHAEL CLARK
Sent: Thursday, 9 November 2006 6:06 a.m.
To: ids@iiug.org
Subject: Tape device access Redhat ES [7757]
How do I give the user informix access to the tape device in RedHat.
Currently
when using the mt command or ontape command, the server returns "permission
denied"
****************************************************************************
***
Forum Note: Use "Reply" to post a response in the discussion forum.
↪ replying to MICHAEL CLARK
MICHAEL CLARK — — source: IIUG Forums & Mailing Lists
Thank you Art. In RedHat root:disk owns /dev/st0 so putting informix is the
disk group worked. I find it odd that the informix install routine, specific
to RedHat, didn't do this or ask "Does informix need access to a tape device?"
and make the change to /etc/group accordingly.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.