home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22212 < prev    next >
Encoding:
Text File  |  1993-01-28  |  4.2 KB  |  107 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!sgiblab!munnari.oz.au!metro!tango.cchs.su.oz.au!brennan
  3. From: brennan@tango.cchs.su.oz.au (Luke Brennan)
  4. Subject: POSIX 'temporary file'
  5. Message-ID: <1993Jan28.135239.1@tango.cchs.su.oz.au>
  6. Sender: news@ucc.su.OZ.AU
  7. Nntp-Posting-Host: tango.cchs.su.oz.au
  8. Organization: Cumberland College of Health Sciences
  9. Date: Thu, 28 Jan 1993 13:42:39 GMT
  10. Lines: 95
  11.  
  12. VMS 5.5-2  uVAX 3100/30 
  13.  
  14. Below, I show an example of a NON privileged user account trying
  15. to use POSIX to do a simple pipe.
  16.  
  17. Under a PRIVILEGED account, this works fine, however.
  18.  
  19. ---------------------------------------------------------------------
  20. The error is the wonderfully detailed UNIX type of thing..
  21. psx> ls | more
  22.  
  23. more: cannot create temporary file
  24.  
  25. psx>
  26. as you can see :-}
  27. ---------------------------------------------------------------------
  28. I also list the /tmp directory, which appears to have w:rwx ...
  29.  
  30. (is it sensible and/or safe to assume that a 'temporary file' under POSIX
  31.  is expecting to be created in /tmp ??)
  32.  
  33. this is all straight-out-of-the-box - all I did was add the BINDs for
  34. my two user disks.. 
  35.  
  36. Can anybody suggest what I've missed? I tried to ensure that /tmp has
  37. w:rwx, but the LINK just ignores this (which I guess sounds perfectly
  38. reasonable). The actual tmp directories seem to be correct..
  39.  
  40. Puzzled...  and YES I even waded through the delightfully useless
  41. MAN pages... 
  42.  
  43. The user resides on  /user0/rm100/831252
  44.  
  45. could it be trying to put the tmp file(s) onto the user disks??
  46. (but then the question is *how* does one find out!)
  47.  
  48. any and all suggestions/opinions/wild guesses accepted :-)
  49.  
  50. ------------------------------------------------------------------
  51.  
  52. TANGO: Set Host TANGO /LOG
  53.  
  54. Academic VAX - TANGO
  55.  
  56. Username: RM100_831252    ! (i.e. a NON priviliged student account)
  57. Password: 
  58.  
  59. TANGO:$ posix
  60. psx> ls | more
  61.  
  62. more: cannot create temporary file
  63. psx> cd /tmp
  64. psx> cd ..
  65. psx> ls -ls
  66. total 48
  67.    4 drwxrwxrwx   2 system   system      1915 Jan 27 16:36 COCO_dev
  68.    4 drwxrwxrwx   2 system   system      1915 Jan 12 09:06 COCO_tmp
  69.    4 drwxrwxrwx   2 system   system      1915 Jan 27 17:21 CUPPA_dev
  70.    4 drwxrwxrwx   2 system   system      1915 Jan 27 16:58 CUPPA_tmp
  71.    4 drwxrwxrwx   2 system   system      1915 Jan 27 16:52 TANGO_dev
  72.    4 drwxrwxrwx   2 system   system      1915 Jan 27 20:28 TANGO_tmp
  73.    4 drwxr-xr-x   2 root     system      1915 Jan  7  1992 bin
  74.    4 drwxr-xr-x   2 root     system      1915 Jan  7  1992 dev
  75.    4 drwxr-xr-x   2 root     system      1915 Jan  7  1992 etc
  76.    4 drwxr-xr-x   2 root     system      1915 Jan  7  1992 lib
  77.    4 drwxrwxrwx   2 root     system      1915 Jan 27 16:58 tmp
  78.    4 drwxr-xr-x   8 root     system      1915 Jan  7  1992 usr
  79. psx> pwd
  80. /cont
  81. psx> cd ..
  82. psx> ls -ls
  83. total 21
  84.    0 lr-xr-xr-x   1 root     system        30 Jan  1  1970 bin -> /vms/sys11/syscommon/posix$bin
  85.    4 drwxr-xr-x  14 root     system      1915 Jan 27 17:00 cont
  86.    0 lr-xr-xr-x   1 root     system        15 Jan  1  1970 dev -> /cont/TANGO_dev
  87.    0 lr-xr-xr-x   1 root     system         9 Jan  1  1970 etc -> /cont/etc
  88.    0 lr-xr-xr-x   1 root     system         9 Jan  1  1970 lib -> /cont/lib
  89.    0 lr-xr-xr-x   1 root     system        15 Jan  1  1970 tmp -> /cont/TANGO_tmp
  90.    4 drwxrwxr-x   2 root     system      2048 Jan 28 13:07 user0
  91.    6 drwxr-x--x   2 system   system      3072 Jan 28 13:07 user1
  92.    0 lr-xr-xr-x   1 root     system         9 Jan  1  1970 usr -> /cont/usr
  93.    7 drwxr-xr-x   2 root     system      3584 Jan 28 13:07 vms
  94. psx> exit
  95. TANGO:$ logout
  96.  
  97.   RM100_831252 logged out at 28-JAN-1993 13:08:01.86
  98.  
  99. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  100. + Luke Brennan                             e-mail:   L.Brennan@cchs.su.EDU.AU +
  101. + EDP Unit, S209                       L.Brennan%cchs.su.edu.au@cunyvm.BITNET +
  102. + Cumberland College of Health Sciences,                              ,-_|\   +
  103. + The University of Sydney                  voice: +61 2 646 6402    /     \  +
  104. + East Street, Lidcombe, NSW 2141             fax: +61 2 646 4853    \_,-._*  +
  105. + AUSTRALIA                                                               v   +
  106. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  107.