Comment 3 for bug 1730604

Revision history for this message
Tejeev Patel (tejeevpatel) wrote :

Fixing file perms doesn't work as work around. File is rewritten without the read perms:

ubuntu@juju-machine-1-lxc-21:~$ ls -l /var/lib/rabbitmq/data
total 152
-rw-r--r-- 1 root root 54 Mar 1 05:00 juju-machine-1-lxc-21_general_stats.dat
-rw------- 1 root root 150382 Mar 1 05:00 juju-machine-1-lxc-21_queue_stats.dat

ubuntu@juju-machine-1-lxc-21:~$ sudo chmod a+r /var/lib/rabbitmq/data/juju-machine-1-lxc-21_queue_stats.dat

ubuntu@juju-machine-1-lxc-21:~$ ls -l /var/lib/rabbitmq/data
total 152
-rw-r--r-- 1 root root 54 Mar 1 05:00 juju-machine-1-lxc-21_general_stats.dat
-rw-r--r-- 1 root root 150382 Mar 1 05:00 juju-machine-1-lxc-21_queue_stats.dat

ubuntu@juju-machine-1-lxc-21:~$ ls -l /var/lib/rabbitmq/data
total 152
-rw-r--r-- 1 root root 54 Mar 1 05:05 juju-machine-1-lxc-21_general_stats.dat
-rw------- 1 root root 150273 Mar 1 05:05 juju-machine-1-lxc-21_queue_stats.dat