Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 --- opencryptoki-2.2.8/usr/sbin/pkcs_slot/pkcs_slot.in.orig 2010-10-05 17:14 :44.000000000 -0400 | |
| 2 +++ opencryptoki-2.2.8/usr/sbin/pkcs_slot/pkcs_slot.in 2010-10-05 17:13:24.0000 00000 -0400 | |
| 3 @@ -351,6 +351,9 @@ | |
| 4 DEVICE=$1 | |
| 5 DEPTH=$2 | |
| 6 | |
| 7 +# Ensure that any directories created are group-accessible | |
| 8 +umask 002 | |
| 9 + | |
| 10 # Check for the existance of the directories | |
| 11 if [ ! -d @DB_PATH@ ] | |
| 12 then | |
| 13 @@ -481,8 +484,4 @@ | |
| 14 echo "TRUE|0|$SLOT_DESCRIPTION|$MANUFACTURER|TRUE|FALSE|TRUE|0|0|1|1|NONE|$TPM_ DLL_FN|$TPM_INIT" >>$CFGFILE | |
| 15 fi | |
| 16 | |
| 17 -cd @DB_PATH@ | |
| 18 -chmod -R g+wrx . | |
| 19 - | |
| 20 - | |
| 21 exit $OK | |
| OLD | NEW |