Bug 4838 - vi race condition
vi race condition
Product: Red Hat Linux
Classification: Retired
Component: vim (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
: Security
Depends On:
  Show dependency treegraph
Reported: 1999-09-01 15:06 EDT by Red Hat Bugzilla
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-10-04 17:34:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Red Hat Bugzilla 1999-09-01 15:06:39 EDT
I have noticed that when logged on as root and using VI,

VI will open a work file that belongs to a different user.

So, user A is editing thesis.tex and root is going to edit
/etc/hosts. Root will see the work file of user A's

I think that there is a bug in the temp files for VI but
I dont have the time to chase it down with the start of
classes at hand.

Richard Wong
Comment 1 Red Hat Bugzilla 1999-09-20 13:35:59 EDT
Is this happening to you always or occasionally or rarely?  (I use
vi as root very often and have never seen this.)
Comment 2 Red Hat Bugzilla 1999-09-23 13:10:59 EDT
One more possibility is that your machine has been compromised by
a cracker.  Consider, as a first investigative step, running the
	rpm -Va
And looking through any problems it reports.
Comment 3 Red Hat Bugzilla 1999-10-04 17:34:59 EDT
If anyone can reproduce this with any version of vi, please
re-open this bug with a description of what you did to recreate
the bug, and include the exact version of vim you are using.

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