LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How Can A Regular User Access A Tape Device? (https://www.linuxquestions.org/questions/red-hat-31/how-can-a-regular-user-access-a-tape-device-788344/)

PointyWombat 02-10-2010 07:05 PM

How Can A Regular User Access A Tape Device?
 
Hi,

I have a workstation with Red Hat 4u8 with a scsi tape drive attached. I can only access the drive as root, but I need regular users to be able to access it. How/what can I configure it to allow regular users access to the device.

If I change permissions of /dev/st* to 666 for example, it works, but not after a reboot, at which point it reverts back to 660.

Thoughts appreciated.

Thanks.

PW

chrism01 02-10-2010 07:09 PM

What does /etc/fstab say?

PointyWombat 02-10-2010 07:17 PM

Quote:

Originally Posted by chrism01 (Post 3859795)
What does /etc/fstab say?


Nothing about tape...

Code:

[root@bigbox dev]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup0/rootvol  /                      ext3    defaults        1 1
LABEL=/boot            /boot                  ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs  defaults        0 0
/dev/VolGroup0/bigvol  /local_disk            ext3    defaults        1 2
none                    /proc                  proc    defaults        0 0
none                    /sys                    sysfs  defaults        0 0
/dev/VolGroup0/varvol  /var                    ext3    defaults        1 2
LABEL=SWAP-sda3        swap                    swap    defaults        0 0
/dev/scd0              /media/cdrecorder      auto    pamconsole,exec,noauto,managed 0 0

Why?

d072330 07-11-2011 11:53 AM

CentOS 4.9
 
I have the same problem. I have nothing in my /etc/fstab for my tape drive (LTO3).

Here are the permissions on the drive.
crw-rw---- 1 root disk 9, 128 May 26 15:15 /dev/nst0
crw-rw---- 1 root disk 9, 0 May 26 15:15 /dev/st0

Was wondering if I could just set and ACL on this drive if that would stay after a reboot or if there is some config file that will over write this on next boot up?

Thought?


All times are GMT -5. The time now is 11:30 PM.