Chapter 15 Unified Threat Management for FortiOS 5.0 : Data leak prevention : Data leak prevention concepts : Installation of the watermark utility on Linux
  
Installation of the watermark utility on Linux
Add the watermark file to a location on the system that is in the $PATH.
To see what the path is use the command
echo $PATH
Example results:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
for example you could move or copy the file to the :/bin directory.
Permissions on the watermark file:
Check the existing permissions:
The command in Linux for listing file along with the permissions is:
ls -l
Run the check to see if the permission status. The results may be something along these lines:
-rw-r--r-- 1 root root 2053868 Jan 10 11:44 watermark
You will see that in this case it has no executable permissions
To change the permissions on the watermark file:
It will be assume for this command that the utility is in the bin directory and that you have ownership level access.
chmod o+x /bin/watermark
To verify the change:
ls -l wa*
-rw-r--r-x 1 root root 2053868 Jan 10 11:44 watermark
You can see how the x for executable has been added to the permissions for the others group.