Re: cp failure to NetApp directory with CIFS security model
From:
Paul Eggert
Subject:
Re: cp failure to NetApp directory with CIFS security model
Date:
Thu, 01 Nov 2007 13:27:16 -0700
User-agent:
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Clarence Donath <address@hidden> writes:
> 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'.
Wow, open() creates the file but then returns -1? That's a serious
bug in the OS or the filer.
I don't offhand see an easy way to work around this bug in coreutils,
without introducing some performance problems (or security holes) on
non-buggy systems.