Good day. I'll try to explain as best as possible even if I am using an automatic translation. I have a problem on a system with FreeBSD sh() scripts. The files are loaded via a ZIP archive, unpacked and set via
The question is why? I cannot understand what I do is that simply saving the file before this becomes executable when it is not.
Thanks, I'm going crazy.
chmod
and property owner in 0755. At this point, the file should be executable, and instead of trying to run it returns an error command not found. To make the script executable has identified that it is necessary to open it (with vi() or another editor) and save it again, even without any change in its entirety. At the next attempt to launch, the execution is successful.The question is why? I cannot understand what I do is that simply saving the file before this becomes executable when it is not.
Thanks, I'm going crazy.