Bug 81594 - Computer constantly beeps after installing ethereal-gnome-0.9.8-0.73.0.i386.rpm
Computer constantly beeps after installing ethereal-gnome-0.9.8-0.73.0.i386.rpm
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: ethereal (Show other bugs)
7.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Knirsch
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-10 17:51 EST by Craig McCluskey
Modified: 2015-03-04 20:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-17 03:57:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Craig McCluskey 2003-01-10 17:51:02 EST
After installing ethereal-0.9.8-0.73.0.i386.rpm and
ethereal-gnome-0.9.8-0.73.0.i386.rpm, any user who logs on gets a repetitive
beep from the computer.


This beeping, which goes on forever every couple of seconds (and was driving me
absolutely BATTY!), is because the following line is added at each beep to
~/.xsession-errors:

File error: Permission denied, /usr/share/gnome/apps/Applications/Network


This occurs when ethereal-gnome-0.9.8-0.73.0.i386.rpm is installed because
the following file is installed:

-rw-r--r--    1 root    root              215 Dec 19 04:53
/usr/share/gnome/apps/Applications/Network/ethereal.desktop

Since the directory /usr/share/gnome/apps/Applications/Network does not exist
before rpm installs the file ethereal.desktop, rpm creates the directory with
root's present umask. If that umask is 027 (as mine is!), the Network directory
is created as:

drwxr-x---    2 root         4096 Jan 10 10:52 Network

which is not readable by anyone but root.

This can be solved by adding creation of the directory to the RPM file:


drwxr-xr-x    2 root    root     0 Dec 19 09:05
/usr/share/gnome/apps/Applications/Network
Comment 1 Trevor Cordes 2003-01-17 03:44:55 EST
Confirmed: I had the same problem and Craig's solution solved it.  Thanks!
Comment 2 Phil Knirsch 2003-01-17 03:57:44 EST
OK, noted. I will check in newer ethereal versions if that problem still exists.
We probably won't rerelease the ethereal errata because of this though, as the
standard umask for root typically is 022, which will create world readable
directories.

Thanks for reporting it though.

Read ya, Phil

Note You need to log in before you can comment on or make changes to this bug.