1 |
Have you tried adding "users" to your fstab? |
2 |
|
3 |
On 8/15/05, Ralph Slooten <axllent@×××××.com> wrote: |
4 |
> -----BEGIN PGP SIGNED MESSAGE----- |
5 |
> Hash: SHA1 |
6 |
> |
7 |
> Hiya all, |
8 |
> |
9 |
> Now I feel *really* stupid asking this, but for the life of me I cannot |
10 |
> work it out. On two machines here at home I discovered that I can write |
11 |
> as a particular normal user to the root partition (/). This also means I |
12 |
> can rename /root to /root1 if I want (I just tried), and create / delete |
13 |
> files on / too. The strange thing is this does not work for another |
14 |
> account (wife's) on the same machine, which seems to have the same |
15 |
> permissions. It's almost like / is getting mounted by user "axllent" |
16 |
> here. Other partitions that get mounted do not work, just / |
17 |
> |
18 |
> I have checked fstab: |
19 |
> /dev/hda3 / reiserfs noatime 0 0 |
20 |
> |
21 |
> In /etc/lilo.conf (on one machine that uses it) I have: |
22 |
> image=/boot/vmlinuz-2.6.11.10 |
23 |
> label="2.6.11.10" |
24 |
> root=/dev/hda3 |
25 |
> vga=791 |
26 |
> read-only |
27 |
> |
28 |
> the permissions of /dev/hda3 are: |
29 |
> axllent@workstation ~ $ ll /dev/hda3 |
30 |
> lr-xr-xr-x 1 root root 33 Aug 15 18:55 /dev/hda3 -> |
31 |
> ide/host0/bus0/target0/lun0/part3 |
32 |
> |
33 |
> axllent@workstation ~ $ ll /dev/ide/host0/bus0/target0/lun0/part3 |
34 |
> brw------- 1 root root 3, 3 Jan 1 1970 |
35 |
> /dev/ide/host0/bus0/target0/lun0/part3 |
36 |
> |
37 |
> My groups for this user on both machines are: |
38 |
> wheel audio cdrom games cdrw usb users portage |
39 |
> & |
40 |
> wheel audio at usb users |
41 |
> |
42 |
> My wife who cannot write to / has |
43 |
> wheel audio games usb users |
44 |
> |
45 |
> Using Reiserfs3. |
46 |
> |
47 |
> Does anyone have any idea what's causing this, and possibly how I can |
48 |
> make / read-only? |
49 |
> |
50 |
> Greetings |
51 |
> Ralph |
52 |
> -----BEGIN PGP SIGNATURE----- |
53 |
> Version: GnuPG v1.4.1 (GNU/Linux) |
54 |
> |
55 |
> iD8DBQFDAN6KCt0ZF9kLPvYRAueFAJ49kV9gKfRSPPPeVaOR+wexDHSBjACfXa5K |
56 |
> pbfD7OBM9Aom2jO2rWFpxlo= |
57 |
> =KeTJ |
58 |
> -----END PGP SIGNATURE----- |
59 |
> -- |
60 |
> gentoo-user@g.o mailing list |
61 |
> |
62 |
> |
63 |
|
64 |
|
65 |
-- |
66 |
Daniel da Veiga |
67 |
Computer Operator - RS - Brazil |
68 |
-----BEGIN GEEK CODE BLOCK----- |
69 |
Version: 3.1 |
70 |
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- |
71 |
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ |
72 |
------END GEEK CODE BLOCK------ |
73 |
|
74 |
-- |
75 |
gentoo-user@g.o mailing list |