Find the answer to your Linux question:
Results 1 to 2 of 2
hi, for some days now i have been struggeling with the following issue: i have a C webapp running on a apache webserver, from this app i call to /sys/class/ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    14

    permission error calling prog. flags


    hi,
    for some days now i have been struggeling with the following issue:
    i have a C webapp running on a apache webserver, from this app i call to /sys/class/
    gpio/... IO's by using a command like ->system("echo 1 > /sys/class/gpio/gpio5/value"). but this always results in a permission denied error in my apache error.log although i have done a chmod 777 on all the regarding files and i added the directory in the httpd.conf file.

    please help me(!!!)

  2. #2
    Just Joined!
    Join Date
    Mar 2011
    Posts
    14
    problem solved-> i did not give a parent directory the right permissions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •