public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] I (user) can write to / ... but why?
@ 2005-08-15 18:27 Ralph Slooten
  2005-08-15 19:12 ` Daniel da Veiga
  2005-08-16 16:09 ` [gentoo-user] I (user) can write to / ... but why? (solved) Ralph Slooten
  0 siblings, 2 replies; 17+ messages in thread
From: Ralph Slooten @ 2005-08-15 18:27 UTC (permalink / raw
  To: Gentoo-user

-----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



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2005-08-16 16:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-15 18:27 [gentoo-user] I (user) can write to / ... but why? Ralph Slooten
2005-08-15 19:12 ` Daniel da Veiga
2005-08-15 20:21   ` Christoph Gysin
2005-08-15 20:45     ` Neil Bothwick
2005-08-16  1:07       ` Nick Rout
2005-08-16  5:21         ` Ralph Slooten
2005-08-16  5:17       ` Ralph Slooten
2005-08-16  5:41         ` Dirk Heinrichs
2005-08-16  7:00           ` Ralph Slooten
2005-08-16  7:17             ` Dirk Heinrichs
2005-08-16 10:21               ` Michael Kintzios
2005-08-16  9:26             ` Nick Rout
2005-08-16  9:47               ` Frank Schafer
2005-08-16 13:33                 ` Ralph Slooten
2005-08-16  7:14       ` Christoph Gysin
2005-08-16  7:42         ` Neil Bothwick
2005-08-16 16:09 ` [gentoo-user] I (user) can write to / ... but why? (solved) Ralph Slooten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox