Ethereal

Re: [Ethereal-users] File write permissions during capture
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-users: February 2006


Webber, R. Marshall wrote:

When in capture mode as root, my files are being captured to a hog
partition. My root umask should produce files with rw-r--r-- perms.

...if the application producing the file supplies an initial file mode of rw-rw-rw-. The umask is ANDed with the initial file mode supplied in the open() or creat() call to generate the mode used for the file.


Ethereal doesn't - it supplies a mode of rw------- for newly-created capture files, so you won't get any mode more permissive than that.

But all of my capture files are being written as
rw------- which isn't much use to me. There are several people on the
system that we want to have access to the captures but not give them
root to perform the captures.

I looked through the FAQs, the .ethereal config file and and docs I
could lay my hands on..nothing.

Is this configurable?

No. You'll have to change the permissions and/or ownership of the capture file after the capture is done.



Powered by MHonArc 2.6.10