How to deal with a problem from the file /etc/jlumachine.id with wrong permission

Problem

 

 

[ ISSUE ]
Inquiry on permission on file

Error Message

 

[ ERROR MESSAGES ]
bash-3.00# ls -la /etc/jlumachine.id
-rw-rw-rw-   1 root     root           0 Jan 15 2011 /etc/jlumachine.id

Cause

 

[ 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".
  

Solution

 

[ SUGGESTION ]
as root:
cd /etc
touch jlumachine.id
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.

Applies To

 

[ VERSION OF OS/PACKAGE ]
Solaris 10
SFHA5.1

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)