Skip to content

Commit a424b36

Browse files
committed
Remove file perm checking on writing
1 parent 8a47a67 commit a424b36

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

secure_storage_manager.go

-4
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,6 @@ func (ssm *fileBasedSecureStorageManager) writeTemporaryCacheFile(cache map[stri
415415
if err := ssm.ensureOwnerForDir(ssm.credDirPath); err != nil {
416416
return err
417417
}
418-
if err := ssm.ensureOwnerForDir(ssm.credFilePath()); err != nil {
419-
logger.Warn("Failed to ensure owner for %v. %v", ssm.credFilePath(), err)
420-
return err
421-
}
422418

423419
bytes, err := json.Marshal(cache)
424420
if err != nil {

0 commit comments

Comments
 (0)