Back to Gentoo. And battling my own errors...



LOL

Perhaps I shouldn't have written that :)

I have a problem, I can't do "ls /" as that produces the error: ls: .: Permission denied
I can however, cd to the root directory and I can list all other directories (that I've tried anyway). So I got the "brilliant" idea of adding "user" to the root directory in fstab.

For those with similar inclinations I can now, from my own hard earned experience, tell you: don't. It is *not* a good idea! The box won't boot...

I got "cannot execute /sbin/agetty" and "Id "cN" respawning too fast" (where N is number 1-6) and the boot process is stuck. Not even ctrl-alt-delete works.

BUT, the problem remains: how do I fix ls-right to the root? My fstab look OK
/dev/hda1               /               ext3            noatime         0 1
/dev/hda2               none            swap            sw              0 0
/dev/hda3               /home           ext3            noatime         0 2
/dev/hda4               /stuff          reiserfs        noatime         0 2
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro,user  0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0

# NOTE: The next line is critical for boot!
proc                    /proc           proc            defaults        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec    $

I did a search on the forums, but haven't found anything really relevant.

Regards,

Martin S

Reply via email to