I have an executible which requires root privilages. But it seems to work only when it's present in the system path. When I execute it like this:
The program complains of having no root access. Looks like it's another security restriction on suid programs, but I've searched and I can't find anything related to it on the net. Why does it work like that? And is there an elegant way to do some testing on this program other than adding
. to PATH, or calling
make as root?
Edit: It doesn't work even when the current directory is in PATH.