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

Issue 6793028: Fixed a minor 'umask' that couldn't have worked. (Closed)

Created:
9 years, 8 months ago by diandersAtChromium
Modified:
9 years, 6 months ago
Reviewers:
jrbarnette
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Removed a broken 'umask' call. This probably caused the tcsd call to spawn twice in some cases. BUG=chromium-os:13510 TEST=Manually typed the following commands in a shell and validated that they produced no errors. umask current_mask=$(umask) umask ${current_mask} umask set | grep current_mask Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=318998b

Patch Set 1 #

Total comments: 6

Patch Set 2 : Just remove umask as suggsted by jrbarnette. #

Patch Set 3 : ...once umask isn't being restored, don't need to save it. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -2 lines) Patch
M tcsd.conf View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
diandersAtChromium
Richard, A tiny cleanup I noticed during code inspection. I don't think it matters a ...
9 years, 8 months ago (2011-04-04 23:50:15 UTC) #1
jrbarnette
This change might actually affect boot time, although maybe not much... http://codereview.chromium.org/6793028/diff/1/tcsd.conf File tcsd.conf (right): ...
9 years, 8 months ago (2011-04-05 00:52:38 UTC) #2
diandersAtChromium
OK, umask restoring (and saving) is removed. Bugs filed for other issues. PTAL. I would ...
9 years, 8 months ago (2011-04-05 03:10:37 UTC) #3
jrbarnette
On 2011/04/05 03:10:37, diandersAtChromium wrote: > OK, umask restoring (and saving) is removed. Bugs filed ...
9 years, 8 months ago (2011-04-05 16:32:05 UTC) #4
jrbarnette
9 years, 8 months ago (2011-04-05 16:37:01 UTC) #5
I should add one more thing:

To fully test that this code change has executed, and not failed
utterly, you should do this:
  * Install from USB and reboot
  * From shell prompt, confirm that tcsd is executing (e.g.
     'ps -C tcsd').
This won't prove that the bug is fixed, but it _will_ show you
haven't made anything any worse.

Powered by Google App Engine
This is Rietveld 408576698