From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030206 Description of problem: the code has been changed to do open("/etc/nosuchfile", O_WRONLY|O_TRUNC|O_LARGEFILE) after a failed open("/etc/nosuchfile", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) this results in errno being EPERM, which is highly confusing, at least to me :-) Version-Release number of selected component (if applicable): bash-2.05b-20 How reproducible: Always Steps to Reproduce: as a normal user echo hiya > /etc/nosuchfile Actual Results: bash: /etc/nosuchfile: No such file or directory Expected Results: bash: /etc/nosuchfile: Permission denied Additional info:
I don't see this. Sure there's no file of that name?
of course I'm sure, and that is actually what bash tells me :-) (btw, it's annoying that you close the bug as the very first response. use MORE INFO NEEDED or something.)
Well, I need more information than I have. :-) Show me the strace output.
Created attachment 90711 [details] strace of bash run exhibiting problem
Created attachment 90712 [details] ltrace of bash run exhibiting problem
Oops, I misread the original comment, sorry! I see the issue now.
Fixed package is bash-2.05b-23.