I am trying to write to a file, in this example:
echo testing233333 >> testing.log
But it is giving me a permission denied when running from Automic.
If I log in via Putty with the same automic account I have no issues to write to it.
Below are permissions to the file.
-rw-rw-r--. 1 root jboss 93854 Nov 16 11:39 testing.log
Below are the groups where the automic account is member:
automic : automic jboss
If I set automic as the file owner, it works.
Seems like Automic is not understanding the membership of the group.
Or should I set the automic account as root?
Anyone with a similar issue or expertise to give me a light?