Originally Posted by sp00led
SaintDanBert, is this what you were talking about? Do I need to change something?
/dev# ll /dev/st0
crw-rw---- 1 root tape 9, 0 2012-04-11 11:45 /dev/st0
Is the writing process a member of the "tape" group or the "root" user or both?
I would consider setting "rwx" for both user and group of /dev/st0.
If you look at a tar archive "file" -- whether on disk or on tape
-- there is header details. That header includes the UID and GID
of the process that wrote the archive. For tape, this works in much the same way that the UID+GID works for a file system mount point.
Since tar archives are routinely used for file backup, there are some hoops to make sure that you really want to write over (erase)
a "backup" tape.
My tape drives are offline right now -- in storage while I rehab
my house. If I had access to them, I'd send you exact details.
I used to do this all the time.