rm -fr `readlink symlink` (please note those are back quotes and symlink is the name of the linux symlink pointing to another directory.)
When I run this command from the command line as the same user on the same box in the same directory as the QB agent is running it works as expected. When I run it through QB however the command does not work. It does not error, but it also has no effect. It appears as though 'readlink symlink' evaluates to nothing and so rm -fr executes with no target and does nothing.
I have also attempted the following command and it also works on linux but not from QB.
readlink symlink | xargs rm -fr
At this time, I am currently unable to have the readlink command function correctly.
I am using QB version. 3.1.52
Suse linux 10.3