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

Side by Side Diff: chrome/browser/cocoa/keystone_promote_postflight.sh

Issue 449004: Merge r33241 to the 249 branch.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 11 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/bash -p 1 #!/bin/bash -p
2 2
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Called as root after Keystone ticket promotion to change the owner, group, 7 # Called as root after Keystone ticket promotion to change the owner, group,
8 # and permissions on the application. The application bundle and its contents 8 # and permissions on the application. The application bundle and its contents
9 # are set to owner root, group wheel, and to be writable only by root, but 9 # are set to owner root, group wheel, and to be writable only by root, but
10 # readable and executable (when appropriate) by everyone. 10 # readable and executable (when appropriate) by everyone.
(...skipping 30 matching lines...) Expand all
41 41
42 CHMOD_MODE="a+rX,u+w,go-w" 42 CHMOD_MODE="a+rX,u+w,go-w"
43 chmod -R "${CHMOD_MODE}" "${APP}" >& /dev/null 43 chmod -R "${CHMOD_MODE}" "${APP}" >& /dev/null
44 44
45 # On the Mac, or at least on HFS+, symbolic link permissions are significant, 45 # On the Mac, or at least on HFS+, symbolic link permissions are significant,
46 # but chmod -R and -h can't be used together. Do another pass to fix the 46 # but chmod -R and -h can't be used together. Do another pass to fix the
47 # permissions on any symbolic links. 47 # permissions on any symbolic links.
48 find "${APP}" -type l -exec chmod -h "${CHMOD_MODE}" {} + >& /dev/null 48 find "${APP}" -type l -exec chmod -h "${CHMOD_MODE}" {} + >& /dev/null
49 49
50 exit 0 50 exit 0
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/keystone_infobar.mm ('k') | chrome/browser/cocoa/keystone_promote_preflight.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698