bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cp failure to NetApp directory with CIFS security model


From: Jim Meyering
Subject: Re: cp failure to NetApp directory with CIFS security model
Date: Thu, 01 Nov 2007 15:31:45 +0100

Clarence Donath <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]