-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Soren Spies on 8/16/2007 8:16 PM:
> I just noticed that cp -p doesn't update the group on a file before
> writing data into the target.  That means that during the copy, users
> you didn't intend to be able to read the file can read the file.

This was already noticed and fixed in 6.9.  From the NEWS file:

 "cp --preserve=mode" would create directories that briefly had
  too-generous permissions in some cases.  For example, when copying a
  directory with permissions 777 the destination directory might
  temporarily be setgid on some file systems, which would allow other
  users to create subfiles with the same group as the directory.  Fix
  similar problems with 'install' and 'mv'.

Consider upgrading.

> cp(1) says that <bug-coreutils@gnu.org> is the place for cp bugs.
> Is there a way to search the bug database?

http://lists.gnu.org/archive/html/bug-coreutils/

> gnu.org's fileutils page
> (<http://www.gnu.org/software/fileutils/doc/manual/html/fileutils.html>)
> has a link to bugs but it leads to a file-not-found page.  :P

fileutils is obsolete, ever since it was folded into coreutils.  We try to
correct those pages as people find and report them.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxRT684KuGfSFAYARAlYAAKDP3DaEpUoR1E/Km07t0K9hi1s+ngCePpdJ
bzkfDF1UWEdA+F6PvY3Xa64=
=2maz
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to