{"id":3530,"date":"2026-10-30T10:57:34","date_gmt":"2026-10-30T09:57:34","guid":{"rendered":"https:\/\/digitalia.culturanuova.net\/blog\/?p=3530"},"modified":"2026-10-30T10:57:34","modified_gmt":"2026-10-30T09:57:34","slug":"phpbash-script-problem","status":"publish","type":"post","link":"https:\/\/digitalia.culturanuova.net\/blog\/?p=3530","title":{"rendered":"php+bash script problem"},"content":{"rendered":"\n<p>If you call a bash script from a php one, be sure that you have the correct permissions. To grant them, you could have to do this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>setfacl -m u:www-data:rwx \/the\/path\/where\/you\/have\/to\/exec\/bash<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you call a bash script from a php one, be sure that you have the correct permissions. To grant them, you could have to do this command:<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[885,751,566],"tags":[30,933],"class_list":["post-3530","post","type-post","status-publish","format-standard","hentry","category-code","category-php","category-webmaster","tag-bash","tag-sitemap"],"_links":{"self":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3530"}],"version-history":[{"count":1,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3530\/revisions"}],"predecessor-version":[{"id":3531,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3530\/revisions\/3531"}],"wp:attachment":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}