Issue #9676 has been reported by James Turnbull.

----------------------------------------
Bug #9676: the permissions on the all.css and all.js files keep getting reset 
to 640.
https://projects.puppetlabs.com/issues/9676

Author: James Turnbull
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected URL: 
Affected PE version: 1.2.1


Followup: the permissions on the all.css and all.js files keep getting
reset to 640.

After sending the email below, a later visit to my Puppet Dashboard
revealed a very ugly, and frankly unusable, interface. I looked at the
permissions on the stylesheet and saw that they had reverted back:

ls -lh /opt/puppet/share/puppet-dashboard/public/stylesheets/all.css
-rw-r----- 1 puppet-dashboard puppet-dashboard 64K Aug 26 17:17
/opt/puppet/share/puppet-dashboard/public/stylesheets/all.css

The /var/log/pe-httpd/puppetdashboard.error.log file shows the following:

[Thu Sep 22 15:44:38 2011] [error] [client 10.200.160.100]
(13)Permission denied: file permissions deny server access:
/opt/puppet/share/puppet-dashboard/public/stylesheets/plugin_puppet_baseline.css,
referer: http://slvmntacsdm.nwielab.net/
[Thu Sep 22 15:44:38 2011] [error] [client 10.200.160.100]
(13)Permission denied: file permissions deny server access:
/opt/puppet/share/puppet-dashboard/public/javascripts/all.js, referer:
http://slvmntacsdm.nwielab.net/
[Thu Sep 22 15:44:38 2011] [error] [client 10.200.160.100]
(13)Permission denied: file permissions deny server access:
/opt/puppet/share/puppet-dashboard/public/stylesheets/all.css,
referer: http://slvmntacsdm.nwielab.net/
[Thu Sep 22 15:44:38 2011] [error] [client 10.200.160.100]
(13)Permission denied: file permissions deny server access:
/opt/puppet/share/puppet-dashboard/public/javascripts/all.js, referer:
http://slvmntacsdm.nwielab.net/
[Thu Sep 22 15:44:39 2011] [error] [client 10.200.160.100]
(13)Permission denied: file permissions deny server access:
/opt/puppet/share/puppet-dashboard/public/stylesheets/plugin_puppet_baseline.css,
referer: http://slvmntacsdm.nwielab.net/

$ ls -lh /opt/puppet/share/puppet-dashboard/public/javascripts/all.js
-rw-r----- 1 puppet-dashboard puppet-dashboard 458K Aug 26 17:17
/opt/puppet/share/puppet-dashboard/public/javascripts/all.js

$ ls -lh /opt/puppet/share/puppet-dashboard/public/stylesheets/all.css
-rw-r----- 1 puppet-dashboard puppet-dashboard 64K Aug 26 17:17
/opt/puppet/share/puppet-dashboard/public/stylesheets/all.css

$ ls -lh 
/opt/puppet/share/puppet-dashboard/public/stylesheets/plugin_puppet_baseline.css
-rw-r----- 1 puppet-dashboard puppet-dashboard 34K Sep 22 15:44
/opt/puppet/share/puppet-dashboard/public/stylesheets/plugin_puppet_baseline.css

I have removed and re-installed PE several times, each time taking
care to `yum -y remove mysql pe-*` and  `rm -rf` the following
directories:
/opt/puppet
/etc/puppetlabs
/var/opt
/var/lib/mysql

After each installation, the file permissions are broken as listed above.

If I `chmod o+r` the three files listed above, things look like I expect.
A manual chmod to the all.css stylesheet resolved the problem, but the
permissions have since reverted back to 640 several times.

I have not yet timed the interval between which I manually chmod the
file and the permissions revert back.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to