From: brennan@tango.cchs.su.oz.au (Luke Brennan)
Subject: POSIX 'temporary file'
Organization: Cumberland College of Health Sciences
Date: Thu, 28 Jan 1993 13:42:39 GMT

VMS 5.5-2  uVAX 3100/30 

Below, I show an example of a NON privileged user account trying
to use POSIX to do a simple pipe.

Under a PRIVILEGED account, this works fine, however.

---------------------------------------------------------------------
The error is the wonderfully detailed UNIX type of thing..
psx> ls | more

more: cannot create temporary file

psx>
as you can see :-}
---------------------------------------------------------------------
I also list the /tmp directory, which appears to have w:rwx ...

(is it sensible and/or safe to assume that a 'temporary file' under POSIX
 is expecting to be created in /tmp ??)

this is all straight-out-of-the-box - all I did was add the BINDs for
my two user disks.. 

Can anybody suggest what I've missed? I tried to ensure that /tmp has
w:rwx, but the LINK just ignores this (which I guess sounds perfectly
reasonable). The actual tmp directories seem to be correct..

Puzzled...  and YES I even waded through the delightfully useless
MAN pages... 

The user resides on  /user0/rm100/831252

could it be trying to put the tmp file(s) onto the user disks??
(but then the question is *how* does one find out!)

any and all suggestions/opinions/wild guesses accepted :-)

------------------------------------------------------------------

TANGO: Set Host TANGO /LOG

Academic VAX - TANGO

Username: RM100_831252    ! (i.e. a NON priviliged student account)
Password: 

TANGO:$ posix
psx> ls | more

more: cannot create temporary file
psx> cd /tmp
psx> cd ..
psx> ls -ls
total 48
   4 drwxrwxrwx   2 system   system      1915 Jan 27 16:36 COCO_dev
   4 drwxrwxrwx   2 system   system      1915 Jan 12 09:06 COCO_tmp
   4 drwxrwxrwx   2 system   system      1915 Jan 27 17:21 CUPPA_dev
   4 drwxrwxrwx   2 system   system      1915 Jan 27 16:58 CUPPA_tmp
   4 drwxrwxrwx   2 system   system      1915 Jan 27 16:52 TANGO_dev
   4 drwxrwxrwx   2 system   system      1915 Jan 27 20:28 TANGO_tmp
   4 drwxr-xr-x   2 root     system      1915 Jan  7  1992 bin
   4 drwxr-xr-x   2 root     system      1915 Jan  7  1992 dev
   4 drwxr-xr-x   2 root     system      1915 Jan  7  1992 etc
   4 drwxr-xr-x   2 root     system      1915 Jan  7  1992 lib
   4 drwxrwxrwx   2 root     system      1915 Jan 27 16:58 tmp
   4 drwxr-xr-x   8 root     system      1915 Jan  7  1992 usr
psx> pwd
/cont
psx> cd ..
psx> ls -ls
total 21
   0 lr-xr-xr-x   1 root     system        30 Jan  1  1970 bin -> /vms/sys11/syscommon/posix$bin
   4 drwxr-xr-x  14 root     system      1915 Jan 27 17:00 cont
   0 lr-xr-xr-x   1 root     system        15 Jan  1  1970 dev -> /cont/TANGO_dev
   0 lr-xr-xr-x   1 root     system         9 Jan  1  1970 etc -> /cont/etc
   0 lr-xr-xr-x   1 root     system         9 Jan  1  1970 lib -> /cont/lib
   0 lr-xr-xr-x   1 root     system        15 Jan  1  1970 tmp -> /cont/TANGO_tmp
   4 drwxrwxr-x   2 root     system      2048 Jan 28 13:07 user0
   6 drwxr-x--x   2 system   system      3072 Jan 28 13:07 user1
   0 lr-xr-xr-x   1 root     system         9 Jan  1  1970 usr -> /cont/usr
   7 drwxr-xr-x   2 root     system      3584 Jan 28 13:07 vms
psx> exit
TANGO:$ logout

  RM100_831252 logged out at 28-JAN-1993 13:08:01.86

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+ Luke Brennan                             e-mail:   L.Brennan@cchs.su.EDU.AU +
+ EDP Unit, S209                       L.Brennan%cchs.su.edu.au@cunyvm.BITNET +
+ Cumberland College of Health Sciences,                              ,-_|\   +
+ The University of Sydney                  voice: +61 2 646 6402    /     \  +
+ East Street, Lidcombe, NSW 2141             fax: +61 2 646 4853    \_,-._*  +
+ AUSTRALIA                                                               v   +
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Newsgroups: comp.os.vms