The TAPE group is OK, but not the complete story.   For some reason my 
setup has sch0 (the name given to my autochanger) as a cd/dvd.  I have 
added CRROM to by bareos user and i still does not work.   Looking into 
have to change sch0 from CDROM to TAPE.
root@backup:~# lsscsi
[0:0:0:0]    tape    HP       Ultrium 5-SCSI   Z6DW  /dev/st0
[0:0:0:1]    mediumx HP       1x8 G2 AUTOLDR   4.30  /dev/sch0
[3:0:0:0]    disk    ATA      Samsung SSD 850  2B6Q  /dev/sda
[4:0:0:0]    disk    ATA      WDC WD5000AAKX-0 1H19  /dev/sdb
[5:0:0:0]    cd/dvd  HL-DT-ST DVD-RAM GH10N    EX02  /dev/sr0
[6:0:0:0]    disk    ATA      WDC WD7501AALS-0 0K05  /dev/sdc

Greg

On Monday, October 9, 2023 at 5:16:46 AM UTC-5 Andreas Rogge wrote:

> Am 02.10.23 um 12:28 schrieb Philip Dalrymple:
> > Yes but the default command (tape) had sudo in it so needed to be in the 
> > sudoers file, I had the same issue at my last company
> > but that was 5 years ago and I had forgotten.
> You don't need sudo. The bareos user should be in the "tape" group and 
> thus doesn't need sudo to run mtx.
>
> Best Regards,
> Andreas
> -- 
> Andreas Rogge [email protected]
> Bareos GmbH & Co. KG Phone: +49 221-630693-86 <+49%20221%2063069386>
> http://www.bareos.com
>
> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
> Komplementär: Bareos Verwaltungs-GmbH
> Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/93f7f9d1-4336-40fb-bc64-2b2e184c4056n%40googlegroups.com.

Reply via email to