Re: bash script kdesu root privilege problem

Jeff Adams <[email protected]> Mon, 18 Feb 2008 09:59:09 -0500
Newsgroups gmane.comp.kde.k3b
Message-ID <[email protected]>
Todd;

Check the default path for bash in /etc/profile.
I suspect it does not contain the location where growisofs is located.

Jeff


On Sunday 17 February 2008 05:19:57 pm Todd and Margo Chester wrote:
> Hi All,
>
> I am using k3b-0.12.17-1.el5 on CentOS 5.1 (RHEL 5.1 clone).
>
> I can run k3b as any user and as root perfectly.
>
> But, when I run K3B from a bash script as
> a user and try to elevate k3b to get root privileges,
>
>      #! /bin/bash
>       kdesu -n -u root -c "k3b --nofork"
>
> I get all kinds of the following errors:
>
>          Unable to find growisofs executable
>          K3b uses growisofs to actually write dvds.
>          Without growisofs you won't be able to write
>          dvds. Make sure to install at least version
>          5.10.  Solution: Install the dvd+rw-tools package.
>
> What am I doing wrong?
>
> Many thanks,
> -T
> p.s. sudo does not work either
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> K3b-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/k3b-user



-- 
Jeff Adams
[email protected]
(508)944-4821  Cell


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/