tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Morrison, Kathy D." <MORRIKD1 () central ! ssd ! jhuapl ! edu>
To: tru64-unix-managers
Subject: SUMMARY bourne shell question
Date: Tue, 08 Apr 1997 14:19:26 +0000	[thread overview]
Message-ID: <96078611110278.tru64-unix-managers.marc@archive.invalid> (raw)

My problem with the bourne shell redirect turned out to be something
really simple--The group ownership in my tmp directory was system.  Only
the owner could touch the file. 
 I had removed the sticky bit from the tmp directory and had permissions
on tmp that were rw-rw-rw, but the group ownership was still "system",
and got inherited by any files created there.
The file in question had rw-rw-r, and I MISTAKENLY assumed that that
group owner was "user", not "system"............

Thanks to all the people below for their helpful suggestions and
kind,patient replies-  My orig question is  below.

steve beikman     beikmas@polaroid.com
Ross Alexander   rwa@cs.athabascau.ca
Jude T. Cruz        jude@tsi.com.my     
Chan Shih-Ping    chansp@math.nus.s
Paul W Grant       paul.grant@kscl.com
Alex_Nord@jabil.com


orig question
************************************************************************
**
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@apollo.jhuapl.edu

            

                 reply	other threads:[~1997-04-08 14:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox