Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 3789 - NFS file copy violations
NFS file copy violations
Product: Red Hat Linux
Classification: Retired
Component: knfsd (Show other bugs)
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Cristian Gafton
: Security
Depends On:
  Show dependency treegraph
Reported: 1999-06-28 23:20 EDT by elsenbeck
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 12:43:02 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 elsenbeck 1999-06-28 23:20:33 EDT
I have two essentially identical celeron servers "A" and
"B".  From "A", I export the /home directory RO.  From "B" I
mount A:/home to /test.  Both "A" and "B" have similiar
directory structures, with matching subdirectories under
/home.  I tried to cp -a one of the subdirectories from "A"
to "B".  (cp -a /test/stuff/* /home/stuff)  Due to improper
permissions on the "A" files, not all of the subdirectory
could be copied (there were additional files/directories in
the 'stuff' subdirectory, and those permissions didn't allow
other r/x access).  The copy was taking a long time, so I
control-C'd to stop it.  When I then looked at the files in
"B", I saw that not only did the files I wanted from "A" get
copied, but also several parts of "B"s filesystem!

What I mean is, besides copying the files from "A", I also
got substantial parts of "B"s /usr, /boot and /home to copy
under this directory!!!!  If I hadn't stopped the process I
might have recopied my entire machine into this directory!!!
I executed the cp command as root, but this seems like a
major problem to me!
Comment 1 Jeff Johnson 1999-06-30 19:18:59 EDT
I'm changing component to knfsd.
Comment 2 Zach Brown 1999-07-13 14:30:59 EDT
Can you send us the listing of /test/stuff/* ?
and does the extra copying happen when you do
	(cd /test/stuff; find . | cpio -dvpm /home/stuff)
Comment 3 Jeff Johnson 2000-07-25 15:40:58 EDT
Closed due to lack of input.

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