Warning: The magic method Math_Captcha::__wakeup() must have public visibility in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php on line 87

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/system-storm/blog.comfine.de/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/system-storm/blog.comfine.de/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":451,"date":"2023-02-17T00:37:03","date_gmt":"2023-02-16T23:37:03","guid":{"rendered":"https:\/\/blog.comfine.de\/?p=451"},"modified":"2023-02-17T10:40:13","modified_gmt":"2023-02-17T09:40:13","slug":"create-write-permission-denied-mysql-mariadb-libman-etc","status":"publish","type":"post","link":"https:\/\/blog.comfine.de\/create-write-permission-denied-mysql-mariadb-libman-etc\/","title":{"rendered":"create\/write permission denied – mysql\/mariadb\/libman etc. – howto fix broken linux filesystem permissions with valid backup"},"content":{"rendered":"\n

after a reboot i could not start mysql anymore. <\/p>\n\n\n\n

[ERROR] mysqld: Can't create\/write to file '\/usr\/local\/var\/mysql\/aria_log_control' <\/strong>\n\nafter a while i noticed that man was not working anymore:<\/pre>\n\n\n\n

man-db: error while loading shared libraries: libmandb-2.8.1.so<\/p>\n\n\n\n

slowly i started to understand that something serious did happen to the system. after executing <\/p>\n\n\n\n

chmod o+x . <\/p>\n\n\n\n

from \/ directory, also inside \/lib\/ and \/lib\/mysql\/ and yes, man and mysql did work again!<\/p>\n\n\n\n

afterwards i executed something, that i SHOULDNT execute:<\/p>\n\n\n\n

chmod -R 755 \/sbin \/usr\/ \/lib \/lib64 \/var<\/p>\n\n\n\n

https:\/\/superuser.com\/questions\/1252600\/fix-permissions-of-server-after-accidental-chmod-debian\/1769120#1769120<\/a><\/p>\n\n\n\n

as someone recommended it as you can see in the link to fix permissionproblems, and my courier-auth-daemon did not start anymore, while mysql was running again. <\/p>\n\n\n\n

after a reboot ssh did not let me in anymore, cause the private key had 755 aswell. <\/p>\n\n\n\n

i realized that the ownership for \/ was not root anymore, but another user, cause of a malfunction of a php-script. i ended up syncing the permissions from a backup back to the system using the find command as described here:<\/p>\n\n\n\n

https:\/\/serverfault.com\/questions\/971173\/how-to-copy-ownership-and-permissions-using-rsync-but-not-the-files<\/a><\/p>\n\n\n\n

be carfeul, it took me a lot of time, to get another backup, cause i missunderstood the commands of this link. it means <\/p>\n\n\n\n

find . -exec chmod -v --reference='{}' \/path\/to\/target\/'{}' \\;<\/code><\/pre>\n\n\n\n

copies the permissions from . (the folder you are in) to the \/path\/to\/target\/. – and not vice versa.<\/p>\n\n\n\n

to copy the permissions from a target to the folder you’re currently inside, you need to use<\/p>\n\n\n\n

find . -exec chmod -v –reference=\/path\/to\/target\/'{}‘ ‚{}‘ \\;<\/p>\n\n\n\n

…same as for chown….<\/p>\n\n\n\n

so, in general: if you run into mysql-permission-problems check the rights of the entire hirachy and the owner of \/ ! this may help!<\/p>\n","protected":false},"excerpt":{"rendered":"

after a reboot i could not start mysql anymore. [ERROR] mysqld: Can’t create\/write to file ‚\/usr\/local\/var\/mysql\/aria_log_control‘ after a while i noticed that man was not working anymore: man-db: error while loading shared libraries: libmandb-2.8.1.so slowly i started to understand that something serious did happen to the system. after executing chmod o+x . from \/ directory,… <\/p>\n