#6104 Log files for ipa in /var/log/ipa and /var/log directory must have similar permissions.
Closed: wontfix 3 years ago by pcech. Opened 7 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1353964

Description of problem: Log files in /var/log/ipa directory have different
permissions.

Version-Release number of selected component (if applicable):
ipa-server-4.4.0-1.el7.x86_64

How reproducible: Always

Steps to Reproduce:

1. Install IPA server
2. Navigate to /var/log/ipa directory and check log file permissions.
3. Check /var/log directory for ipa related log file permissions.

Actual results:

/var/log/ipa
[root@server ipa]# ls -l
-rw-r--r--. 1 root root 4830 Jul  8 18:27 ipactl.log
-rw-------  1 root root    0 Jul  5 14:51 renew.log
-rw-r--r--  1 root root  912 Jul  8 17:52 server.log

[root@server log]# pwd
/var/log
-rw-------  1 root   root      54141 Jul  8 16:47 ipabackup.log
-rw-------. 1 root   root      62059 Jul  8 16:54 ipaclient-install.log
-rw-------. 1 root   root      47168 Jul  8 12:00 ipaclient-uninstall.log
-rw-------  1 root   root       5749 Jul  8 16:10 ipareplica-install.log
-rw-------  1 root   root      36796 Jul  8 17:24 iparestore.log
-rw-------. 1 root   root      28651 Jul  8 18:43 ipaserver-install.log
-rw-------  1 root   root      91545 Jul  8 17:58 ipaserver-kra-install.log
-rw-------  1 root   root       2562 Jul  8 17:15 ipaserver-kra-uninstall.log
-rw-------. 1 root   root      65098 Jul  8 12:00 ipaserver-uninstall.log
-rw-------  1 root   root      61890 Jul  8 11:41 ipaserver-uninstall.log.crash
-rw-------  1 root   root   10542916 Jul  8 17:30 ipaupgrade.log

Expected results:
Permissions of log file should be consistent with other log files of ipaserver
i.e 600 unless specifically required to be different.

Additional info:

pspacek: we may change dir permissions

Metadata Update from @pvoborni:
- Issue assigned to someone
- Issue set to the milestone: Future Releases

7 years ago

Closed as the related BZ was closed.

Metadata Update from @pcech:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata