Hi ljmont,
Thank you for the reply.
I've enabled log rotation to application server's (time based) in the same server with same umask logs generated with 644 permission.
-rw-r--r-- 1 wasadmin wasadmin 167 May 17 00:00 SystemErr_13.05.18_00.00.00.log
-rw-r--r-- 1 wasadmin wasadmin 51237 May 17 23:57 SystemOut_13.05.18_00.00.00.log
-rw-r--r-- 1 wasadmin wasadmin 167 May 18 00:00 SystemErr.log
-rw-r--r-- 1 wasadmin wasadmin 8148 May 18 03:02 SystemOut.log
Here I have enabled application server logs using "wasadmin"
After log-in to server with my I've switch into to wasadmin that is sudo su - wasadmin
But IHS logs generated with 600 permissions.
-rw------- 1 root system 73601 May 05 16:59 access_log.2013_05_05_00_00_00
-rw------- 1 root system 729787 May 11 07:33 error_log.2013_05_11_00_00_00
-rw------- 1 root system 241049 May 11 07:33 access_log.2013_05_11_00_00_00
-rw------- 1 root system 2826849 May 12 17:02 error_log.2013_05_12_00_00_00
-rw------- 1 root system 739304 May 12 17:02 access_log.2013_05_12_00_00_00
Useually I've stopped/started IBM HTTP Server using sudo commands
sudo /usr/IBM/HTTPServer/bin/apachectl stop
sudo /usr/IBM/HTTPServer/bin/apachectl start
my sudo commands in sudoers list given below:
sudo -l
(ALL) NOPASSWD: /usr/IBM/HTTPServer/bin/apachectl start, /usr/IBM/HTTPServer/bin/apachectl stop, /usr/IBM/HTTPServer/bin/apachectl restart,
/usr/IBM/HTTPServer/binapachectl graceful
(ALL) NOPASSWD: /usr/bin/su - wasadmin
(ALL) NOPASSWD: /usr/bin/cp
UMASK value is 027
If I changed umask V,alue IHS will generate log 644 permissions, So which umask value do I need to set?
Thank you,
Regards,
Brahma