home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.17 / text0095.txt < prev    next >
Encoding:
Internet Message Format  |  1990-01-06  |  1.1 KB

  1. From: karish@forel.stanford.edu (Chuck Karish)
  2.  
  3. In article <474@longway.TIC.COM> Doug Gwyn <uunet!brl.mil!gwyn> wrote:
  4. >From: Doug Gwyn <uunet!smoke.brl.mil!gwyn>
  5. >In article <7674@portia.Stanford.EDU> karish@forel.stanford.edu
  6. (Chuck Karish) writes:
  7. >>  [something stupid]
  8.  
  9. >IEEE Std 1003.1 defines "group ID" and "user ID" to be NON-NEGATIVE
  10. >integers in Section 2.3.  This is in conformance with existing practice
  11. >that Sun gratuitously ignored in their NFS implementation.
  12.  
  13. Hmmm.  This could, indeed, cause problems.
  14.  
  15. The original posting pointed out that that some vendors hedge on this
  16. issue by making the types unsigned short, so the negative values are
  17. cast to large (near USHRT_MAX) positive numbers.  Of course, this will
  18. fail if a tar or cpio archive is unpacked on a system where uid_t and
  19. gid_t are signed types longer than 16 bits, so 65534 != -2.
  20.  
  21. Who's going to change?  For that matter, will other 1003.1 semantics be
  22. compromised to accomodate NFS as a transparent file access standard?
  23. Stay tuned...
  24.  
  25.     Chuck Karish        karish@mindcraft.com
  26.     (415) 323-9000        karish@forel.stanford.edu
  27.  
  28. Volume-Number: Volume 17, Number 105
  29.  
  30.  
  31.