home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21553 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!fg30.rz.uni-karlsruhe.de!ig25
  2. From: ig25@fg30.rz.uni-karlsruhe.de (Thomas Koenig)
  3. Newsgroups: comp.os.linux
  4. Subject: chmod weirdness in ext file system, 0.99, and mount(2)
  5. Date: 23 Dec 1992 19:04:56 GMT
  6. Organization: University of Karlsruhe, Germany
  7. Lines: 21
  8. Message-ID: <1had8oINNr63@nz12.rz.uni-karlsruhe.de>
  9. Reply-To: ig25@rz.uni-karlsruhe.de
  10. NNTP-Posting-Host: fg30.rz.uni-karlsruhe.de
  11.  
  12. I recently experienced something weird with the chmod(1) command.  I had
  13. a directory in my home dir whose flags were set to r--------, the uid
  14. was my userid, and the gid was root; I had set the flags by accident,
  15. and wanted to correct them to rwx------.  Problem:  chmod 700 dir didn't
  16. work (permission denied).  I had to su to root to fix the permissions.
  17. Later, I wanted to reproduce the problem, but I couldn't.
  18.  
  19. I'm running a 486/50 with a Minix partition as root and an extended file
  20. system mounted on /usr, as partitions /dev/hda2 and /dev/hda3 on an AT
  21. bus disk, and 0.99 with Linux' two fixes patched in by hand.  The home
  22. directory in question was in /usr/homes, i.e. on the extended fs.
  23. The chmod command came from the 0.98pl5 SLS distribution.
  24.  
  25. BTW, what are the parameters to the 0.99 mount(2) system call? I wanted
  26. to write replacements for the m0, m0d, ...  - macros for mounting
  27. filesystems from a floppy, but the manpage mentioned only three parameters,
  28. and I could not figure out legal values for the other two...
  29. -- 
  30. Thomas Koenig, ig25@rz.uni-karlsruhe.de, ig25@dkauni2.bitnet
  31. The joy of engineering is to find a straight line on a double logarithmic
  32. diagram.
  33.