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 1E4kS3-0003NY-1K for garchives@archives.gentoo.org; Mon, 15 Aug 2005 19:16:51 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7FJFTm6022879; Mon, 15 Aug 2005 19:15:29 GMT Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7FJBwGO030841 for ; Mon, 15 Aug 2005 19:11:59 GMT Received: by xproxy.gmail.com with SMTP id h32so273827wxd for ; Mon, 15 Aug 2005 12:12:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qxigWFOG6IRSQZ87ldl6+L5XcDHLntqJn5h8R2iqhSb2/c9jRktJTjTZV5fIEwuinFkB2OZHga+HfXLJDJ0OcUwihu/+/K5TcBIPlTng4iV5z4G2u2QqcwuNgdFWw79XEgLTM1mjvWYVbDzMx5kImPdOb+5UH3gXibYgZjYTWI4= Received: by 10.70.57.18 with SMTP id f18mr108517wxa; Mon, 15 Aug 2005 12:12:30 -0700 (PDT) Received: by 10.70.56.11 with HTTP; Mon, 15 Aug 2005 12:12:30 -0700 (PDT) Message-ID: <342e10905081512127bf9c2be@mail.gmail.com> Date: Mon, 15 Aug 2005 16:12:30 -0300 From: Daniel da Veiga To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] I (user) can write to / ... but why? In-Reply-To: <4300DE8A.2090205@gmail.com> 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <4300DE8A.2090205@gmail.com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j7FJBwGO030841 X-Archives-Salt: 28b729a0-ac4a-4a38-a9a0-f155ffd22b8f X-Archives-Hash: f16f97e11fe769a8bc6e13b77cd62566 Have you tried adding "users" to your fstab? On 8/15/05, Ralph Slooten wrote: > -----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 > > -- Daniel da Veiga Computer Operator - RS - Brazil -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ ------END GEEK CODE BLOCK------ -- gentoo-user@gentoo.org mailing list