From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E4jfe-0001I3-3R for garchives@archives.gentoo.org; Mon, 15 Aug 2005 18:26:50 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7FIPRDC013927; Mon, 15 Aug 2005 18:25:27 GMT Received: from amsfep16-int.chello.nl (amsfep16-int.chello.nl [213.46.243.25]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7FILm4d002604 for ; Mon, 15 Aug 2005 18:21:48 GMT Received: from [192.168.0.2] (really [62.163.198.201]) by amsfep16-int.chello.nl (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20050815182219.TCSG2060.amsfep16-int.chello.nl@[192.168.0.2]>; Mon, 15 Aug 2005 20:22:19 +0200 Message-ID: <4300DE8A.2090205@gmail.com> Date: Mon, 15 Aug 2005 20:27:22 +0200 From: Ralph Slooten User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: Gentoo-user Subject: [gentoo-user] I (user) can write to / ... but why? X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1ed1fd63-7f30-4f56-92e4-56698f77deac X-Archives-Hash: aa1e31b631c10685511c45eb3d424d1f -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hiya all, Now I feel *really* stupid asking this, but for the life of me I cannot work it out. On two machines here at home I discovered that I can write as a particular normal user to the root partition (/). This also means I can rename /root to /root1 if I want (I just tried), and create / delete files on / too. The strange thing is this does not work for another account (wife's) on the same machine, which seems to have the same permissions. It's almost like / is getting mounted by user "axllent" here. Other partitions that get mounted do not work, just / I have checked fstab: /dev/hda3 / reiserfs noatime 0 0 In /etc/lilo.conf (on one machine that uses it) I have: image=/boot/vmlinuz-2.6.11.10 label="2.6.11.10" root=/dev/hda3 vga=791 read-only the permissions of /dev/hda3 are: axllent@workstation ~ $ ll /dev/hda3 lr-xr-xr-x 1 root root 33 Aug 15 18:55 /dev/hda3 -> ide/host0/bus0/target0/lun0/part3 axllent@workstation ~ $ ll /dev/ide/host0/bus0/target0/lun0/part3 brw------- 1 root root 3, 3 Jan 1 1970 /dev/ide/host0/bus0/target0/lun0/part3 My groups for this user on both machines are: wheel audio cdrom games cdrw usb users portage & wheel audio at usb users My wife who cannot write to / has wheel audio games usb users Using Reiserfs3. Does anyone have any idea what's causing this, and possibly how I can make / read-only? Greetings Ralph -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDAN6KCt0ZF9kLPvYRAueFAJ49kV9gKfRSPPPeVaOR+wexDHSBjACfXa5K pbfD7OBM9Aom2jO2rWFpxlo= =KeTJ -----END PGP SIGNATURE----- -- gentoo-user@gentoo.org mailing list