home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25218 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.8 KB

  1. Path: sparky!uunet!pipex!warwick!uknet!edcastle!dcs.ed.ac.uk!sct
  2. From: sct@dcs.ed.ac.uk (Stephen Tweedie)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: HELP: Problems with groups
  5. Message-ID: <SCT.93Jan23165208@ascrib.dcs.ed.ac.uk>
  6. Date: 23 Jan 93 16:52:08 GMT
  7. References: <4fLl1ga00iV105jsUP@andrew.cmu.edu>
  8. Sender: cnews@dcs.ed.ac.uk (UseNet News Admin)
  9. Organization: University of Edinburgh Dept. of Computer Science, Scotland
  10. Lines: 26
  11. In-Reply-To: pw1r+@andrew.cmu.edu's message of 21 Jan 93 21:06:52 GMT
  12.  
  13. In article <4fLl1ga00iV105jsUP@andrew.cmu.edu>, pw1r+@andrew.cmu.edu (Peter William Wieland) writes:
  14. > I've made a new group using groupadd, made the new users using useradd
  15. > and then tried to chgrp their home directories.  The group changes and
  16. > shows up properly when I do an ls -l, but after about 30 seconds, the
  17. > group is changed to 232 or 233 (neither of which exists in /etc/group). 
  18. > I've noticed, however, that the group won't change back if that user is
  19. > logged in on another console, but once you logout the group changes
  20. > shortly after.
  21.  
  22. This is a known problem with existing filesystems.  The kernel's
  23. internal inode cache stores full 32-bit group IDs for files, which is
  24. why you are seeing the correct group persist for a brief while.
  25. However, the minix fs only stores 8 bit ids, and the extfs 16 bits
  26. (although I have heard complaints that even extfs manages to truncate
  27. to 8 bits).
  28.  
  29. The next generation of file systems (like Remy Card's forthcoming Mark
  30. II new extfs) should not have this limitation, but in the mean time
  31. I'm afraid that the only solution is to limit yourself to group IDs in
  32. the range 0-255.
  33.  
  34. Cheers,
  35.  Stephen Tweedie.
  36. ---
  37. Stephen Tweedie <sct@uk.ac.ed.dcs>   (Internet: <sct@dcs.ed.ac.uk>)
  38. Department of Computer Science, Edinburgh University, Scotland.
  39.