1. Saving tshark files in home directory

Saving tshark files in home directory

Home Forums FABRIC General Questions and Discussion Saving tshark files in home directory

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6142
    Nirmala Shenoy
    Participant

      Hello

      In the nodes in our slice we run tshark to capture the traffic in the interfaces. We are unable to save the pcap files in the /home/rocky directory.

       

       

      #6146
      Ilya Baldin
      Participant

        Can you please provide an error message you are seeing?

        #6149
        Nirmala Shenoy
        Participant

          hello I am attaching a snap shot. when I run tshark in the home directory I get a permission denied. If I save a text file it works

          When I run it in my code directory – I am able to save.

          attached is the error capture

          #6151
          Ilya Baldin
          Participant

            Make the home directory writable (or write to another directory where root can write). Note that you are doing touch as user rocky, but capturing as root.

            # make home directory world writable

            [rocky@Node1 ~]$ chmod go+rwx .

            # i’m using eth0 as capture interface – that doesn’t matter
            [rocky@Node1 ~]$ sudo tshark -i eth0 -w logfile
            Running as user “root” and group “root”. This could be dangerous.
            Capturing on ‘eth0’

            In general we are not responsible for OS behaviors – this is left to the experimenter. Our images are standard cloud images maintained by the creators of different distributions and they exhibit standard behaviors for those distributions.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.