Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: enterprise_helper_linux.py

Issue 7453062: Added another class 'EnterpriseTestSetTwo'to test another set of policy values. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/chrome/test/functional/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « enterprise.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: enterprise_helper_linux.py
===================================================================
--- enterprise_helper_linux.py (revision 95643)
+++ enterprise_helper_linux.py (working copy)
@@ -14,8 +14,10 @@
assert os.geteuid() == 0, 'Need superuser privileges'
if sys.argv[1] == 'copy':
shutil.copy(sys.argv[2], sys.argv[3])
- filename = os.path.join(sys.argv[3], 'chrome.json')
- os.chmod(filename, 0755)
+ dirList = os.listdir(sys.argv[3])
+ for fname in dirList:
+ filename = os.path.join(sys.argv[3], fname)
+ os.chmod(filename, 0755)
elif sys.argv[1] == 'setup_dir':
os.system('mkdir -p %s' % sys.argv[2])
os.system('chmod -R 755 /etc/opt/chrome/')
« no previous file with comments | « enterprise.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698