home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / ultrix / 9030 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  3.8 KB

  1. From: chris@tisdec.tis.tandy.com
  2. Date: 21 Dec 92 13:35 CST
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: Orphaned Response
  5. Message-ID: <28400009@tisdec.tis.tandy.com>
  6. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!convex!news.oc.com!utacfd.uta.edu!trsvax!trsvax!tisdec.tis.tandy.com!chris
  7. Nf-ID: #R:ennews.eas.asu.edu:10974:tisdec.tis.tandy.com:28400009:000:3397
  8. Nf-From: tisdec.tis.tandy.com!chris    Dec 21 13:35:00 1992
  9. References: <10974@ennews.eas.asu.edu>
  10. Lines: 73
  11.  
  12.  
  13. /* Written  3:43 pm  Dec 16, 1992 by scowen@wfpc3.UUCP in tisdec.tis.tandy.com:comp.unix.ultrix */
  14. /* ---------- "Re: ultrix 4.2: chgrp/chown problem" ---------- */
  15. In article <1992Dec16.160418.1@qucdnee.ee.queensu.ca>, rick@qucdnee.ee.queensu.ca writes:
  16. |> system: ultrix 4.2A. server is a ds5000/240, clients are ds5000/20.
  17. |> 
  18. |> we've discovered what appears to be an anomaly with the use of chgrp
  19. |> and/or chown to change the group on a file. this appears to work fine on 
  20. |> a locally-attached disk, but not an NFS client. an example will show 
  21. |> what i mean:
  22. [stuff deleted]
  23. |> now try the exact same thing on an NFS client:
  24. |> 
  25. |> elrod> ls -alg junk.txt
  26. |> -rwx------  1 rick     staff         388 Oct 29 16:05 junk.txt*
  27. |> elrod> /etc/chown rick.system junk.txt
  28. |> chown: can't change ownership of junk.txt: Not owner
  29. |> 
  30. |> which isn't true, BUT:
  31. |> 
  32. |> elrod> ls -alg junk.txt
  33. |> -rwx------  1 rick     system        388 Oct 29 16:05 junk.txt*
  34. |> 
  35. |>   it changes it anyway. but if i wait for a minute or two, it puts it
  36. |> back the way it was, with no intervention from me:
  37. |> 
  38. |> elrod> ls -alg junk.txt
  39. |> -rwx------  1 rick     staff         388 Oct 29 16:05 junk.txt*
  40. |> 
  41. |> 
  42. |> is this something known? is there an easy fix?
  43.  
  44. Isn't this due to the two userid's being different on the two machines - and I
  45. don't mean the login names but the numerical id's.  Since then the user rick
  46. is not the same user on both machines, the local one and the host that has the
  47. NFS disk physically mounted.  Or am I missing the point?
  48.  
  49. -- 
  50. -------------------------------------------------------------------------------
  51. Paul A. Scowen                INTERNET: scowen@wfpc3.la.asu.edu
  52. Department of Physics & Astronomy          uk1@spacsun.rice.edu
  53. Arizona State University        Tel:      (602) 965-0938
  54. Tempe, AZ 85287-1504            FAX:      (602) 965-7954
  55. -------------------------------------------------------------------------------
  56. /* End of text from tisdec.tis.tandy.com:comp.unix.ultrix */
  57.  
  58. Yes you are missing a minor point about BSD based systems.  Chown(8)'s behavior
  59. has it's history tied in with quot(8), assuch chown(8) can only be run by root.
  60. This prevented users from changing a file ownership to get around disk quota
  61. restrictions.
  62.  
  63. Also, if you have not specified root on the client system to be root on the
  64. server system (ie: -r=0 on the FS line in /etc/exports), ROOT cannot do squat
  65. on NFS mounted filesystems, or that the export is writable (ie: no -r on the
  66. FS line in /etc/exports).
  67.  
  68. The reason it looked like it took place is because it was NFS mounted.  The
  69. command was succesfully processed on you local system, and the failure occured
  70. on the remote system, so the local image was updated for the change, and then
  71. re-updated from the server.  Mystery solved.
  72.  
  73. These are just a few possibilities, since I have not seen anything about whom
  74. you were doing the chown(8) command as, what your /etc/exports file looks
  75. like, or how the filesystem was mounted (although I suspect it was NOT
  76. readonly). 
  77.  
  78. /* These are only my personal observations and experiences, not my employeer's */
  79. ==========================================================================
  80. Chris Riney                     Domain: chris@tisdec.tis.tandy.com
  81. Tandy Information Services        UUCP: ...!trsvax!tisdec!chris
  82. Tandy Technology Sqr, Suite 200
  83. Fort Worth, TX 76102             Phone: 817/878-0308; 8:00am-5:00pm CST,Mo-Fr
  84.  
  85.