2005/6/24, Attila Fülöp <[EMAIL PROTECTED]>: > The problem is, the FreeBSD Port installs bconsole with > 754 (rwxr-xr--) root:wheel and the director fails to execute > it since it runs as user+group bacula. Same problem with > bconsole.conf and (gnome|wx)-console. > > Is this a bacula "feature" or something the FreeBSD port > maintainer did? I would think its reasonable to change both > files to be owned by group bacula. I will contact the port > maintainer in case it's his part. > > Alternatively, is there another way to achieve above > functionality?
Don't know if above makes sense, and it doesn't seem to come from the port configuration - however, usually you don't have access to the tape drive as non-root anyway... So, i think the best way to archive your expected results is to run sudo in your scripts, e.g. make it echo "mount CertanceDrive" | sudo /usr/local/sbin/bconsole -c /usr/local/etc/bconsole.conf echo "umount CertanceDrive" | sudo /usr/local/sbin/bconsole -c /usr/local/etc/bconsole.conf and configure your sudoers file accordingly. -- Le deagh dhùraghd, Frank Altpeter Two of the most famous products of Berkeley are LSD and Unix. I don't think that this is a coincidence. -- Anonymous ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users