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 1E544I-00007f-8m for garchives@archives.gentoo.org; Tue, 16 Aug 2005 16:13:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7GGC6L7011526; Tue, 16 Aug 2005 16:12:06 GMT Received: from amsfep18-int.chello.nl (amsfep18-int.chello.nl [213.46.243.13]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7GG8I0A009131 for ; Tue, 16 Aug 2005 16:08:18 GMT Received: from [192.168.0.3] (really [62.163.198.201]) by amsfep18-int.chello.nl (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20050816160859.XTYM8289.amsfep18-int.chello.nl@[192.168.0.3]>; Tue, 16 Aug 2005 18:08:59 +0200 Message-ID: <43020FA3.3010203@gmail.com> Date: Tue, 16 Aug 2005 18:09:07 +0200 From: Ralph Slooten User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050729) 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@lists.gentoo.org Subject: Re: [gentoo-user] I (user) can write to / ... but why? (solved) References: <4300DE8A.2090205@gmail.com> In-Reply-To: <4300DE8A.2090205@gmail.com> X-Enigmail-Version: 0.90.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 0fd7496d-3f4c-4d66-a380-aa3df5306c03 X-Archives-Hash: 22bdc3f7a9a4d0878c367b7735e60a62 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The problem on both my laptop and workstation was simply the fact that the root partition (/) was owned by UID=1000 GUI=100. Apparently this is a bug, but a simple `chown root:root /` was sufficient to fix the problem, and I also changed several file-permissions in underlying directories (like usr). Thanks all for your help Greetings Ralph Ralph Slooten wrote: > 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) iD8DBQFDAg+jCt0ZF9kLPvYRAp4CAJwOFwRHHYQJ2iUWNLSro8/t3Uh4NgCfcsSq LH/k4Y/IpkR8MlneKp6Retg= =sMCd -----END PGP SIGNATURE----- -- gentoo-user@gentoo.org mailing list