Ethereal-users: Re: [Ethereal-users] File write permissions during capture

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Wed, 1 Feb 2006 01:30:15 +0100
[id-est:win32libs/trunk/packages] lego% sudo sh -c 'touch t.cap ;
tethereal -i en1 -w t.cap'
Capturing on en1
4 ^C
[id-est:~] lego% ll t.cap
-rw-r--r--   1 root  lego  400 Feb  1 01:29 t.cap


sudo sh -c 'touch t.cap ; tethereal -i en1 -w t.cap'

On 2/1/06, LEGO <luis.ontanon@xxxxxxxxx> wrote:
> # echo '#!/bin/sh' > tethereal_wrapper
> # echo 'umask 644' >> tethereal_wrapper
> # echo 'umask tethereal $*' >> tethereal_wrapper
> # chmod +x   tethereal_wrapper
> # tethereal_wrapper -w /hog_partition/file.cap
>
> L
>
> On 1/31/06, Webber, R. Marshall <Marshall.Webber@xxxxxxx> wrote:
> > Newbie ethereal, but been around the block with Unix for a while.
> >
> > 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. 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?
> >
> > RMW
> >
> >
> > IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments.  Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited.  Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument.  Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.
> >
> > _______________________________________________
> > Ethereal-users mailing list
> > Ethereal-users@xxxxxxxxxxxx
> > http://www.ethereal.com/mailman/listinfo/ethereal-users
> >
>
>
> --
> This information is top security. When you have read it, destroy yourself.
> -- Marshall McLuhan
>


--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan