[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Custom "Build Command" problem
|
Hi!,
I submitted a patch a while ago for bug #237611. Is it possible for
someone to take a look at the patch and see if everything is ok with it?
Thanks in advance,
E.
erc@xxxxxxxxxx wrote:
Just submitted the bug #237611.
Thanks again,
Everton
*Elena Laskavaia <elaskavaia@xxxxxxx>*
Sent by: cdt-dev-bounces@xxxxxxxxxxx
17/06/2008 10:49
Please respond to
"CDT General developers list." <cdt-dev@xxxxxxxxxxx>
To
"CDT General developers list." <cdt-dev@xxxxxxxxxxx>
cc
Subject
Re: [cdt-dev] Custom "Build Command" problem
Send a bug report. You should not need read permission to execute the
process on posix systems.
erc@xxxxxxxxxx wrote:
>
> Hey,
> I've been trying to use a custom build command that starts with a
> call to "sudo" however I get the strange message:
>
> Unable to find full path for "sudo (...)"
>
> or
>
> Unable to find full path for "/usr/bin/sudo (...)"
>
> I checked CDT's source code. I found at the pfind.c file:
>
> /* For absolute name or name with a path, check if it is an executable.
> */
> if (name[0] == '/' || name[0] == '.') {
> if (access(name, X_OK | R_OK) == 0) {
> return strdup(name);
> }
> return NULL;
> }
>
> However in my case, a normal user has no read permission to "sudo" only
> execute permission. Should it really check for the read permission?
>
> Is there a workaround for this? Is it a bug?
>
> Thanks in advance,
> Everton
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
------------------------------------------------------------------------
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev