home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / admin / 10587 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.6 KB

  1. Path: sparky!uunet!mcsun!julienas!i2unix!torino.maraut.it!gandigli
  2. From: gandigli@torino.maraut.it (Flavio Gandiglio)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Problem with chgrp on NFS-disks
  5. Date: 21 Jan 1993 11:28:19 GMT
  6. Organization: Magneti Marelli, Electronics Division (ITALY)
  7. Lines: 78
  8. Distribution: world
  9. Message-ID: <1jm1cjINNjli@sgi.iunet.it>
  10. NNTP-Posting-Host: nocciola.torino.maraut.it
  11. Keywords: chgrp NFS `Not owner'
  12.  
  13. I hope this is the right group in which to post this question, 
  14. sorry if it isn't.
  15.  
  16. I have a problem between DEC and SUN to change group permissions.
  17. By nfs the chgrp command (on SUN) doesn't work on file on DEC machine 
  18. but works on NFS on SUN machine.    Why?
  19. Sun said that is a little bug, but nobody knows the solution (or workaround).
  20.  
  21. My configurations are :
  22. -DEC and SUN with YP maps (group, passwd, netid.bynum)
  23. -SUN and DEC CLient of yp with "+:" into the file /etc/groups
  24. -DEC and SUN FyleSystems exported with permissions
  25.  
  26. -----------------------------------------------------------------------------
  27.  
  28. Examples :
  29.  
  30. SunOS UNIX (ananas)
  31.  
  32. login: gandigli
  33. Password:
  34.  
  35. ananas 12:02:~ 1 > pwd ; df .
  36. /usr/local_users/gandigli
  37. Filesystem            kbytes    used   avail capacity  Mounted on
  38. /dev/sd0e             239383  183890   31555    85%    /usr/local_users
  39.  
  40. ananas 12:03:~ 2 > touch YYY
  41.  
  42. ananas 12:03:~ 3 > ls -lag
  43. -rw-r--r--  1 gandigli users           0 Jan 21 12:05 YYY
  44.  
  45. ananas 12:03:~ 4 > groups
  46. users metodolo
  47.  
  48. ananas 12:03:~ 5 > chgrp metodolo YYY
  49.  
  50. ananas 12:03:~ 6 > ls -lag YYY
  51. -rw-r--r--  1 gandigli metodolo        0 Jan 21 12:05 YYY
  52.  
  53. AND IT'S ALL OK.    BUT...
  54.     
  55. ananas 12:03:~ 2 > cd /usr/pccommon/tmp
  56.  
  57. ananas 12:03:~ 3 > pwd ; df .
  58. /usr/pccommon/tmp
  59. Filesystem            kbytes    used   avail capacity  Mounted on
  60. merlino-17:/usr/pccommon
  61.                       122607   94598   15749    86%    /usr/pccommon
  62.  
  63.     [ merlino-17 is a dec host - DECServer 5500]
  64.  
  65. ananas 12:04:/usr/pccommon/tmp 4 > touch XXX
  66.  
  67. ananas 12:04:/usr/pccommon/tmp 5 > ls -lag
  68. -rw-r--r--  1 gandigli users           0 Jan 21 12:05 XXX
  69.  
  70. ananas 12:04:/usr/pccommon/tmp 6 > groups
  71. users metodolo
  72.  
  73. ananas 12:04:/usr/pccommon/tmp 7 > chgrp metodolo XXX
  74. chgrp: XXX: Not owner
  75.  
  76. What is this 'chgrp: XXX: Not owner'   ?????????
  77.  
  78. Any suggests are appreciated. Mail to gandigli@torino.maraut.it
  79.  
  80.     THANKS.
  81. -- 
  82. =============================================================================
  83.  
  84.     Flavio Gandiglio            
  85.     Magneti Marelli
  86.     Divisione Elettronica        Tel:    +39 - 11 - 2411.1 (int. 315)
  87.     C.so Giulio Cesare, 328        Fax:    +39 - 11 - 2411.316
  88.     I-10154 Torino (ITALY)        Email:     FGandiglio@torino.maraut.it
  89.  
  90. =============================================================================
  91.