Skip to main content
Participant
March 10, 2009
Question

cfexecute and ln on Linux

  • March 10, 2009
  • 2 replies
  • 611 views
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.
This topic has been closed for replies.

2 replies

blst02Author
Participant
March 12, 2009
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.
Inspiring
March 11, 2009
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