Richard White wrote:
>>>> On 7/9/2007 at 3:47 PM, in message
> <[EMAIL PROTECTED]>, "John Drescher"
> <[EMAIL PROTECTED]> wrote:
>>> Please also note that, in the new and improved versions, the device name
>>> is enclosed in double quotes, just like in the book and your examples, but
>>> not, alas, like my originals.
>>>
>>> Now when I attempt the label barcode, I am presented with a choice of
>>> devices, VXA and Auto. I choose 'Auto', but get exactly the same result from
>>> Bacula. No matter what I do, it can't open the device "VXA3" (/dev/nst0).
>>>
>> This might be a permissions issue. Depending on your install your bacula-sd
>> may be running as user bacula. If so you need to make sure that user bacula
>> has full access to the tape drive.
>>
>> John
> 
> Well, I just did the following:
> 
> # groupadd bacula
> # vi /etc/group
> 
> Make the last line look like this:
> 
> bacula:!:1000:root,bacula,richarw
> 
> # chown bacula:bacula /dev/nst0
> 
> At this point, presumably the user and group bacula own /dev/nst0.
> 
> # ls -l /dev/nst0
> # crw-rw----  1 bacula  bacula  9,  128 Jul  5 15:14  /dev/nst0
> 
> No change in result.
> 
> Most perplexing.

that was mention on group earlier
what is your system?
cos quite lot of systems is changing rights owners for devices after restart

what means u should stick it in place like  /etc/devfs.conf on FreeBSD

i dont think changing owner to bacula i a best way

i will recommend to stick bacula in 'operator' group and then in
/etc/devfs.conf add privileges for group to device


-- 
bEsT rEgArDs            |       "Confidence is what you have before you
tomasz dereszynski      |       understand the problem." -- Woody Allen
TD840-RIPE              |

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to