smithygotlost
New Pleskian
So after sorting one of my clients websites out the other day i did the worst possible thing.. In a momentery lapse of concentration i did
chown yellowsaserv /
After a few seconds it clicked what i had done. In a panic i stopped it.
Now ive repaired all the Owners : Group using
for p in $(rpm -qa | grep plesk); do rpm --setugids $p; done
for p in $(rpm -qa | grep psa); do rpm --setugids $p; done
for p in $(rpm -qa | grep plesk); do rpm --setperms $p; done
for p in $(rpm -qa | grep psa); do rpm --setperms $p; done
This worked everything works.. However the Chmod of most of the folders has reverted to 744 meaning back ups wont run, Crons cant use the Tmp files ect.
Does anyone know of anyway or anything that can correct all the CHMOD's or atleast have a list so i can manually do them ??
Thanks
Mike
chown yellowsaserv /
After a few seconds it clicked what i had done. In a panic i stopped it.
Now ive repaired all the Owners : Group using
for p in $(rpm -qa | grep plesk); do rpm --setugids $p; done
for p in $(rpm -qa | grep psa); do rpm --setugids $p; done
for p in $(rpm -qa | grep plesk); do rpm --setperms $p; done
for p in $(rpm -qa | grep psa); do rpm --setperms $p; done
This worked everything works.. However the Chmod of most of the folders has reverted to 744 meaning back ups wont run, Crons cant use the Tmp files ect.
Does anyone know of anyway or anything that can correct all the CHMOD's or atleast have a list so i can manually do them ??
Thanks
Mike