bourne shell question

From: Morrison, Kathy D. <MORRIKD1_at_central.ssd.jhuapl.edu>
Date: Mon, 7 Apr 1997 15:49:02 -0400

Hello managers,

I'm sorry if this is not directly DU related, but am thinking that this
list probably has the answer.

We have an ongoing problem that appears to be the result of a shell
command with the following sh syntax:

command intf.file > out 2>&1

The error message is /bin/sh:/tmp/filename.out: cannot create


Is it possible that the construct 2>&1 (which duplicates file
descriptors) cannot act correctly if the file is owned by someone else?
The file "filename.out" already exists and was created by another user
(same group, with read, write permissions).

TIA for any clues on this!

Kathy Morrison
morrison_at_apollo.jhuapl.edu
Received on Mon Apr 07 1997 - 22:05:11 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT