2 Replies Latest reply on Mar 12, 2009 3:13 PM by blst02

    cfexecute and ln on Linux

    blst02
      i am having a little trouble trying to get cfexecute to create a symbolic link on linux.

      i am using the below cfexecute tag to try and mimic what i am doing from the command line, but no link is made and no output is received from the cfexecute tag.

      i have also tried /bin/ln

      am i missing something?

      <cfexecute name="ln" arguments="-s /home/.../filename.txt /home/.../files/test.txt"></cfexecute>

      thanks.
        • 1. Re: cfexecute and ln on Linux
          Level 7
          blst02 wrote:
          > i am having a little trouble trying to get cfexecute to create a symbolic link
          > on linux.
          >
          > i am using the below cfexecute tag to try and mimic what i am doing from the
          > command line, but no link is made and no output is received from the cfexecute
          > tag.
          >
          > i have also tried /bin/ln
          >
          > am i missing something?
          >
          > <cfexecute name="ln" arguments="-s /home/.../filename.txt
          > /home/.../files/test.txt"></cfexecute>

          Make sure that the user CF is running as has enough rights on the
          destination directory (su to that user and try ln from that account).

          --
          Mack
          • 2. Re: cfexecute and ln on Linux
            blst02 Level 1
            you are correct, it's a permission issue.

            i am just starting out with CF on linux and need a little advice.

            what is the best user for CF to run under and how would i go about changing that user?

            i don't see a lot on the web about CF and linux so any help is appreciated.

            thanks much.