cd / && chmod -R 777 *

Fórumok

cd / && chmod -R 777 *

Hozzászólások

RedHat Linux 7.1-en egy baratomnal sajnos a kov. tortent:

cd /
chmod -R 777 *

lehetseges ezt a hibat vmilyen modon korrigalni?

max annyi, hogy rpm -Uvh -val felteszed újra a csomagokat, és akkor egy részüket helyrehúzza :wink:

[quote:fcba958603="vmiklos"]max annyi, hogy rpm -Uvh -val felteszed újra a csomagokat, és akkor egy részüket helyrehúzza :wink:

nem tudod veletlenul, mire szolgalnak ezek a parameterei az rpm-nek?:

--setperms
--setugids

--setperms - set the file permissions to those in the package
database using the same package specification
options as -q
--setugids - set the file owner and group to those in the
package database using the same package
specification options as -q

[quote:44e023b3f2="sztomi"]RedHat Linux 7.1-en egy baratomnal sajnos a kov. tortent:

cd /
chmod -R 777 *

lehetseges ezt a hibat vmilyen modon korrigalni?

reinstall -old az osszes fennlevo programot. debean alatt trivi, de a redhat-ot nem ismerem.

[quote:6061ad0bff="vmiklos"]ezt csinálja r6 alatt az rpm -U

khm khm -F
-U upgrade

Hi!

Debian alatt hogy kell mindent reinstallni? Marmint egy paranccsal.

By(t)e
TBS::Antiemes

[quote:c04a351060="antiemes"]Hi!

Debian alatt hogy kell mindent reinstallni? Marmint egy paranccsal.

By(t)e
TBS::Antiemes

dpkg --get-selections | awk '{ if($2 == "install") print $1 }' | xargs apt-get -y --reinstall install

Nem egy parancs, de jo;-)