Author: swagle
Date: Wed Apr 10 23:48:05 2013
New Revision: 1466735
URL: http://svn.apache.org/r1466735
Log:
AMBARI-1869. Permission on agent site.pp files needs to be 660. (swagle)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/manifestGenerator.py
Modified: incubator/ambari/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1466735&r1=1466734&r2=1466735&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed Apr 10 23:48:05 2013
@@ -681,6 +681,8 @@ Trunk (unreleased changes):
BUG FIXES
+ AMBARI-1869. Permission on agent site.pp files needs to be 660. (swagle)
+
AMBARI-1867. Processing API requests takes too long. (swagle)
AMBARI-1856. Queries for metrics to populate the dashboard graphs don't work
Modified:
incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/manifestGenerator.py
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/manifestGenerator.py?rev=1466735&r1=1466734&r2=1466735&view=diff
==============================================================================
---
incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/manifestGenerator.py
(original)
+++
incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/manifestGenerator.py
Wed Apr 10 23:48:05 2013
@@ -27,7 +27,6 @@ from datetime import datetime
import AmbariConfig
import pprint
import hostname
-import stat
logger = logging.getLogger()
@@ -77,7 +76,7 @@ def generateManifest(parsedJson, fileNam
#writing manifest
manifest = open(fileName, 'w')
#Change mode to make site.pp files readable to owner and group only
- os.chmod(fileName, stat.S_IRWXU)
+ os.chmod(fileName, 0660)
#Check for Ambari Config and make sure you pick the right imports file