Link to home
Start Free TrialLog in
Avatar of Rebelnorth
Rebelnorth

asked on

nohup tcpdump -C 1 tries to creat the next file in succession and gets permission denied...

I am running tcpdump.  Im using the command nohup tcpdump -C 1 to log packets and then create a new file when the first file fills up.
pdump reaches the 1,000,000 byte point and tries to create another file it gives the following error:

tcpdump: tcpdump.log1: Permission denied

Im running as root... so I assume the process would have the same permissions?

What might be causing it?


Avatar of Rebelnorth
Rebelnorth

ASKER

Figured it out had to use the -Z option and use root.  Even though root was the user I was logged into.
ASKER CERTIFIED SOLUTION
Avatar of ee_ai_construct
ee_ai_construct
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial