set-user-id anomoly

Charles Smith cts.private at yahoo.com
Sat Mar 9 11:14:12 UTC 2013


Hi. I have the following two files - does anybody have a clue
how they can be different?  Does Linux now maintain some state
about files on the filesystem other than what is configurable
with chmod?  Is there a mailing list where more obscure ubuntu
questions can be asked?

$ ls -l tcpdump $node/tcpdump
-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

$ cmp tcpdump $node/tcpdump
$
One works:

$ ~/nodes/tcpdump 
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes


One doesn't:

$ ./tcpdump
tcpdump: no suitable device found


I know that there are wonderous new things going into linux, so I tried this:

$ getcap
The program 'getcap' is currently not installed.  You can install it by typing:
sudo apt-get install libcap2-bin 
Thus, the "capabilities" tools, at any rate, are not installed
on the machine, and so are presumably not involved.

Thanks in advance for any help.

cts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130309/d5f4e0a9/attachment.html>


More information about the ubuntu-users mailing list