Bug #788

savecore -f should work on read-only files

Added by Rich Lowe about 3 years ago. Updated about 3 years ago.

Status:Rejected Start date:2011-03-09
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:cmd - userland programs Spent time: -
Target version:-
Difficulty:Medium Tags:needs-triage

Description

~$ savecore -f /export/scratch/vmdump.0 crash
savecore: open("/export/scratch/vmdump.0"): Permission denied

Again, with truss, shows:

open("/export/scratch/vmdump.0", O_RDWR|O_DSYNC) Err#13 EACCES [file_dac_write]

There's no good reason to open the dump RDWR when we're reading it from a file, and have no reason
to clear the valid bit.

History

Updated by Rich Lowe about 3 years ago

  • Status changed from New to Rejected

Looks like I got faked out by the unexpected antiquity of the machine I was on.

Also available in: Atom PDF