set-user-id anomoly

Colin Law clanlaw at googlemail.com
Thu Mar 7 16:45:42 UTC 2013


On 7 March 2013 16:33, Charles Smith <cts.private at yahoo.com> wrote:
> @Colin
>   If I use sudo, both work fine
>
> @Tony
>
>  $ pwd
>  /home/cts/w/1670

So you are in /home/cts/w/1670 and ls -l shows

-rwsr-xr-x 1 root cts 760184 Mar  6 07:40 /home/cts/nodes/tcpdump
-rwsr-xr-x 1 root cts 760184 Mar  5 23:55 tcpdump

that is a bit strange.  It seems you have a file called
"/home/cts/nodes/tcpdump" inside the folder /home/cts/w/1670.  I did
not know that was possible.

>
>  $ "./tcpdump"
>  tcpdump: no suitable device found

That is not what Tony suggested.  He was trying to get you to do the
compare on the file with the strange name.

Colin




More information about the ubuntu-users mailing list