LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-10-2010, 07:05 PM   #1
PointyWombat
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
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
 
Old 02-10-2010, 07:09 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
What does /etc/fstab say?
 
Old 02-10-2010, 07:17 PM   #3
PointyWombat
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
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?
 
Old 07-11-2011, 11:53 AM   #4
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS 5/6
Posts: 186

Rep: Reputation: 6
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?
 
  


Reply

Tags
nonroot, permission denied, redhat, tape drive


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting loop device as a regular user chriswcristie Linux - General 5 06-06-2012 06:53 AM
Cannot access digital camera as a regular user vasudevadas Slackware 3 01-05-2007 05:14 PM
Can't access floppy from OpenSuse 10.0 with regular user Thakowbbery SUSE / openSUSE 3 01-31-2006 02:34 PM
No regular user access USB device from RHEL 4.0 WS dita Red Hat 2 12-18-2005 02:59 AM
Can't access NTFS partition as regular user Spasmolytic Linux - Newbie 3 05-13-2004 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration