← Back to team overview

pyneighborhood team mailing list archive

[Bug 492986] Re: Fedora 10 /usr/bin/sudo is not readable so config is ignored

 

** Changed in: pyneighborhood
     Assignee: pyNeighborhood-failed (pyneigborhood) => pyNeighborhood (pyneighborhood)

** Changed in: pyneighborhood
    Milestone: None => 0.5.1

** Changed in: pyneighborhood
       Status: Fix Committed => Fix Released

** Changed in: pyneighborhood
   Importance: Undecided => Low

-- 
Fedora 10 /usr/bin/sudo is not readable so config is ignored
https://bugs.launchpad.net/bugs/492986
You received this bug notification because you are a member of
pyNeighborhood, which is a bug assignee.

Status in pyNeighborhood: Fix Released

Bug description:
I'm using 0.5.0

In __init__.py various programs are checked for R_OK + X_OK which I guess means they must be readable and executable (I don't know python). 

On Fedora 10, /usr/bin/sudo is not readable (but still works fine). I guess this is a "feature" of Fedora?

So the sudo setting in pyNeighborhood keeps reverting back to /usr/bin/gksu (which don't have installed). It seems to me that sudo doesn't have to be readable, so should only be checked for X_OK.

Possibly this is a potential security hazard in that I am tempted to make sudo readable as a solution, and I assume Fedora makes it not readable for some security reason?

Alan