Clarence Donath <[EMAIL PROTECTED]> wrote:
> open("/p/inet/cron", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1
> EPERM (Operation not permitted)
...
> The resultant destination file is created, but left empty by 'cp'.
> A second 'cp' will succeed since the file was created by the first 'cp'.

A just-released security alert,
https://rhn.redhat.com/errata/RHSA-2007-0939.html
mentioned the following:

    * A flaw was found in the CIFS file system. This could cause the umask
    values of a process to not be honored on CIFS file systems where UNIX
    extensions are supported. (CVE-2007-3740, Important)

cp relies heavily on how the process umask works.
If your CIFS file system implementation is affected
by the above-fixed bug, then that may explain the failure.


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

Reply via email to