Making tape accessible to all users

Hi All  ,
 I want all my users to be able to take backup or access the tape drive . I am using RedHat linux 7.1 . What do I need to do this . Now i get an error when i try to use the tape with any other user than root .
 
Thanks in advance

Jonny
jonnyboy_mrAsked:
Who is Participating?
 
anupnellipCommented:
use chmod 777 /dev/st0
if st0 is your tape drive . replace st0 with the tape device u use .
 y do u want to give access to every one ?? this cam cause misuse of the tape drive as anyone will be able to use the tape and overright your data etc .

Regards

Anup
0
 
taxdodgerCommented:
Also you could make a tape group and selectively choose who has access to the tape group with usermod -G tape,... <user>

then chgrp tape /dev/st0
and chmod 770 /dev/st0

just one way i suppose.
0
 
sam_sunderCommented:
Hi jonny boy

Its always good to create a group and give permission to the group. You can do that as given below.
the main problem will be restoring of data as the data can be overwritten by the users .

The best approach will be to give a share folder to all users and take the backup to the tape drive.

regards,

sam
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.