Clarence Donath <[EMAIL PROTECTED]> wrote:
> We are experiencing undesired behavior using 'cp' and its siblings
> involving a NetApp filer qtree with the CIFS security model.
...
> UNIX functions like chmod will fail, because changing of the permission
> bits is not allowed by the filer.
...
> What I assume is happening here is that 'cp' is trying to change the
> permissons of the file after it opens a new one for writing, and
> terminates when it cannot do so.
>
> This behavior occurs with coreutils versions 6.7 and 6.9, but not
> previous versions.

Fixing this for you may be tricky, since it sounds like
your file system cannot be POSIX-compliant.

But first, have you tried a recent snapshot?

  http://meyering.net/cu/coreutils-6.9-ss.tar.gz
  http://meyering.net/cu/coreutils-6.9-ss.tar.gz.sig

There have been changes in this area since 6.9.
If that still fails, I suggest you run cp under strace or
a debugger to see precisely which syscall is failing.  Let us know.
The changes that I think are giving you trouble
were required to eliminate some race conditions


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to