[ ISSUE ]
Inquiry on permission on file
[ ERROR MESSAGES ]
bash-3.00# ls -la /etc/jlumachine.id
-rw-rw-rw- 1 root root 0 Jan 15 2011 /etc/jlumachine.id
[ Explanation ]
This error will only come when a root user installed JLU first time as at that time only JLU creates a file name as jlumachine.id under directory "\etc" with
the Read/Write permission to everyone. So after installation when we launch the Live update for first time with non-root user JLU tries to change the mode of jlumachine.id file by using chmod 666.
But since this file is created by root so only root or owner will be having the permission to change the mode of thid file and hence JLU ends up by throwing the error "Error while changing permissions of cache filechmod: /etc/jlumachine.id: Operation not permitted".
[ SUGGESTION ]
chown symcscan:avdefs jlumachine.id
chmod 664 jlumachine.id
Note: The Symantec-provided file was owned by root:root with 666 permissions.
This is to show how to change the file to be owned by the scanner (symcscan:avdefs) and 664 permissions for improved security.
[ VERSION OF OS/PACKAGE ]