- This topic has 3 replies, 2 voices, and was last updated 11 months, 3 weeks ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC General Questions and Discussion › Saving tshark files in home directory
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.
Can you please provide an error message you are seeing?
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
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.