[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with hostname



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sergiy wrote:
> Hi,
> 
> its inpossible to get write access for many files in /etc:
> -----------------------------------
> (none):~# cat /etc/hostname
> cat: /etc/hostname: Keine Berechtigung
> (none):~# cd /etc/
> (none):/etc# ls -la | grep host
> ls: vim: Keine Berechtigung
> ls: xml: Keine Berechtigung
> ls: bastille-tmpdir-defense.sh: Keine Berechtigung
> ...
> ls: ld.so.conf.old: Keine Berechtigung
> -rw-rwxr--    1 root root        26 1995-09-26 05:20 host.conf
> -rw-rwx---    1 root root       340 2005-05-21 04:07 hosts
> ...
> ----------------------------------
> 
> "Keine Berechtigung" means permission denied. But Im root on this
> machine. Sometimes I get another error message like this:
> ----------------
> (none):~# vim /etc/hostname
> ReiserFS: hda1 warning: vs-13075: reiserfs_read_locked_inode: dead inode
> read from disk [10 9156 0x0 SD]. This is likely to be raced with kfsd.
> Ignore
> vim: /etc/hostname: Keine Berechtigung
> -----------------
> 
> Is that an HDD error?
> 
Or a filesystem error. You can try the repair-options of your filesystem.

Maybe there are some security-extensions installed like selinux that may
prevent you from accessing these files.

Note: Please answer below the quote.

Kind regards, Paul

- --
Linux-User #271918 with the Linux Counter, http://counter.li.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)

iEYEARECAAYFAkLM2M4ACgkQqErKtBWD7VTaEACfeGCBCSN9PsAbTFzI2Nd3/fcw
jsIAoMzj7ccAF8RPHSrcE7wQy9h23YYi
=dK23
-----END PGP SIGNATURE-----



Reply to: