Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tape error

Status
Not open for further replies.

bulat

IS-IT--Management
Joined
Apr 19, 2005
Messages
5
Location
KZ
su - root
# tar cvf /dev/rmt/0n /export/home/user
tar: /dev/rmt/0n: Permission denied
 
What are the permissions on /dev/rmt/0n? Mine are lrwxrwxrwx

Have you possibly issued the command previously 'the wrong way around'? This can result in corruption (or rather replacement) of the 0n device with a standard file.
 
rmt directory permissions were 755
I changed it on 777
0n was 777 -
but the problem was the same
what can you advice

The second question
can this command be run from any user
or root
 
Are you sure your tape drive is rmt/0... Put a tape in and run command: mt -f /dev/rmt/0 stat. Tape devices should be available to all users.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top