Bug #788

savecore -f should work on read-only files

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

Status:RejectedStart date:2011-03-09
Priority:NormalDue date:
Assignee:-% Done:


Category:cmd - userland programs
Target version:-
Difficulty: Tags:


~$ 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.


#1 Updated by Rich Lowe about 7 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