home *** CD-ROM | disk | FTP | other *** search
- 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
- From: ig25@fg30.rz.uni-karlsruhe.de (Thomas Koenig)
- Newsgroups: comp.os.linux
- Subject: chmod weirdness in ext file system, 0.99, and mount(2)
- Date: 23 Dec 1992 19:04:56 GMT
- Organization: University of Karlsruhe, Germany
- Lines: 21
- Message-ID: <1had8oINNr63@nz12.rz.uni-karlsruhe.de>
- Reply-To: ig25@rz.uni-karlsruhe.de
- NNTP-Posting-Host: fg30.rz.uni-karlsruhe.de
-
- I recently experienced something weird with the chmod(1) command. I had
- a directory in my home dir whose flags were set to r--------, the uid
- was my userid, and the gid was root; I had set the flags by accident,
- and wanted to correct them to rwx------. Problem: chmod 700 dir didn't
- work (permission denied). I had to su to root to fix the permissions.
- Later, I wanted to reproduce the problem, but I couldn't.
-
- I'm running a 486/50 with a Minix partition as root and an extended file
- system mounted on /usr, as partitions /dev/hda2 and /dev/hda3 on an AT
- bus disk, and 0.99 with Linux' two fixes patched in by hand. The home
- directory in question was in /usr/homes, i.e. on the extended fs.
- The chmod command came from the 0.98pl5 SLS distribution.
-
- BTW, what are the parameters to the 0.99 mount(2) system call? I wanted
- to write replacements for the m0, m0d, ... - macros for mounting
- filesystems from a floppy, but the manpage mentioned only three parameters,
- and I could not figure out legal values for the other two...
- --
- Thomas Koenig, ig25@rz.uni-karlsruhe.de, ig25@dkauni2.bitnet
- The joy of engineering is to find a straight line on a double logarithmic
- diagram.
-