1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hiya all, |
5 |
|
6 |
Now I feel *really* stupid asking this, but for the life of me I cannot |
7 |
work it out. On two machines here at home I discovered that I can write |
8 |
as a particular normal user to the root partition (/). This also means I |
9 |
can rename /root to /root1 if I want (I just tried), and create / delete |
10 |
files on / too. The strange thing is this does not work for another |
11 |
account (wife's) on the same machine, which seems to have the same |
12 |
permissions. It's almost like / is getting mounted by user "axllent" |
13 |
here. Other partitions that get mounted do not work, just / |
14 |
|
15 |
I have checked fstab: |
16 |
/dev/hda3 / reiserfs noatime 0 0 |
17 |
|
18 |
In /etc/lilo.conf (on one machine that uses it) I have: |
19 |
image=/boot/vmlinuz-2.6.11.10 |
20 |
label="2.6.11.10" |
21 |
root=/dev/hda3 |
22 |
vga=791 |
23 |
read-only |
24 |
|
25 |
the permissions of /dev/hda3 are: |
26 |
axllent@workstation ~ $ ll /dev/hda3 |
27 |
lr-xr-xr-x 1 root root 33 Aug 15 18:55 /dev/hda3 -> |
28 |
ide/host0/bus0/target0/lun0/part3 |
29 |
|
30 |
axllent@workstation ~ $ ll /dev/ide/host0/bus0/target0/lun0/part3 |
31 |
brw------- 1 root root 3, 3 Jan 1 1970 |
32 |
/dev/ide/host0/bus0/target0/lun0/part3 |
33 |
|
34 |
My groups for this user on both machines are: |
35 |
wheel audio cdrom games cdrw usb users portage |
36 |
& |
37 |
wheel audio at usb users |
38 |
|
39 |
My wife who cannot write to / has |
40 |
wheel audio games usb users |
41 |
|
42 |
Using Reiserfs3. |
43 |
|
44 |
Does anyone have any idea what's causing this, and possibly how I can |
45 |
make / read-only? |
46 |
|
47 |
Greetings |
48 |
Ralph |
49 |
-----BEGIN PGP SIGNATURE----- |
50 |
Version: GnuPG v1.4.1 (GNU/Linux) |
51 |
|
52 |
iD8DBQFDAN6KCt0ZF9kLPvYRAueFAJ49kV9gKfRSPPPeVaOR+wexDHSBjACfXa5K |
53 |
pbfD7OBM9Aom2jO2rWFpxlo= |
54 |
=KeTJ |
55 |
-----END PGP SIGNATURE----- |
56 |
-- |
57 |
gentoo-user@g.o mailing list |