Bug #788

savecore -f should work on read-only files

Added by Rich Lowe over 4 years ago. Updated over 4 years ago.

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

0%

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

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

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