I need to make some change in a file get from a remote ftp server in order to handle custom data.
But I've got problem with cacti and write permissions.
For example, if I try to run this script with data input method in cacti:
This simple code won't work on my cacti server, the file "test.txt" is not created or updated as well even with absolute path paste in the code or with similar php code.
Code: Select all
#!/bin/sh echo 14 >> test.txt
I have also try many set of permissions (root, www-data, guest).
So, I can't download my custom file from the remote server in order to handle it localy.
Is somebody can help me ?