set-user-id anomoly

Tony Arnold tony.arnold at manchester.ac.uk
Thu Mar 7 17:26:31 UTC 2013


Colin,

On 07/03/13 16:45, Colin Law wrote:
> 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.

That's what I thought, but I don't know how you would do it. I've just
tried:

	touch '/fred/bill'

and I get No such file or directory returned.


>>  $ "./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.

Indeed I was, but I think there is something else going on here.

Maybe running fsck on the file system is in order?

Regards,
Tony.
-- 
Tony Arnold,                        Tel: +44 (0) 161 275 6093
Head of IT Security,                Fax: +44 (0) 705 344 3082
University of Manchester,           Mob: +44 (0) 773 330 0039
Manchester M13 9PL.                 Email: tony.arnold at manchester.ac.uk




More information about the ubuntu-users mailing list